Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.693/1.693, allocations: 287.4 MB / 302.6 MB, free: 8.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 178.4 kB / 371.1 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 0.6298 GB, free: 10.56 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008026/0.0008026, allocations: 103.7 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004203/0.0004204, allocations: 15.91 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1936, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04394/0.2376, allocations: 33.94 MB / 1.012 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02843/0.2661, allocations: 12.88 MB / 1.024 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004498/0.2706, allocations: 95.62 kB / 1.025 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002453/0.2731, allocations: 0.5739 MB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/0.2773, allocations: 1.097 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007306/0.2846, allocations: 1.513 MB / 1.028 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.2979, allocations: 7.376 MB / 1.035 GB, free: 2.477 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02846/0.3264, allocations: 11.8 MB / 1.046 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00518/0.3317, allocations: 1.872 MB / 1.048 GB, free: 4.684 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.3368, allocations: 2.636 MB / 1.051 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001175/0.338, allocations: 256 kB / 1.051 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.3404, allocations: 0.5425 MB / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002879/0.3433, allocations: 1.984 MB / 1.053 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001738/0.3451, allocations: 0.8239 MB / 1.054 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009165/0.3542, allocations: 7.644 MB / 1.062 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.3543, allocations: 0 / 1.062 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.527e-06/0.3543, allocations: 0 / 1.062 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003429/0.3547, allocations: 0 / 1.062 GB, free: 6.762 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.007926/0.3626, allocations: 3.399 MB / 1.065 GB, free: 3.297 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.3627, allocations: 11.97 kB / 1.065 GB, free: 3.285 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001569/0.3642, allocations: 0.6365 MB / 1.066 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003801/0.3681, allocations: 0.952 MB / 1.067 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3985/0.7665, allocations: 2.18 MB / 1.069 GB, free: 83.64 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004745/0.7671, allocations: 324.8 kB / 1.069 GB, free: 83.63 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001484/0.7686, allocations: 428.3 kB / 1.069 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/0.7866, allocations: 7.326 MB / 1.077 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001187/0.7868, allocations: 13.12 kB / 1.077 GB, free: 80.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005592/0.7873, allocations: 185.5 kB / 1.077 GB, free: 80.53 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004434/0.7878, allocations: 286.3 kB / 1.077 GB, free: 80.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01315/0.8009, allocations: 5.933 MB / 1.083 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03665/0.8376, allocations: 32.64 MB / 1.115 GB, free: 52.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003698/0.8414, allocations: 2.116 MB / 1.117 GB, free: 51.29 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.8433, allocations: 1.239 MB / 1.118 GB, free: 50.64 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.8435, allocations: 106.2 kB / 1.118 GB, free: 50.54 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.8435, allocations: 40.88 kB / 1.118 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=98): time 3.266e-06/0.8435, allocations: 4 kB / 1.118 GB, free: 50.49 MB / 0.6823 GB Notification: Performance of matching and sorting (n=101): time 0.007348/0.8509, allocations: 5.228 MB / 1.123 GB, free: 47.17 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.851, allocations: 144 kB / 1.123 GB, free: 47.01 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.8528, allocations: 1.444 MB / 1.125 GB, free: 46.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.8529, allocations: 47.08 kB / 1.125 GB, free: 46.16 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.8538, allocations: 1.862 MB / 1.127 GB, free: 44.53 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002743/0.854, allocations: 371.4 kB / 1.127 GB, free: 44.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.894e-05/0.8541, allocations: 45.56 kB / 1.127 GB, free: 44.19 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8543, allocations: 397.3 kB / 1.127 GB, free: 43.82 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001598/0.8559, allocations: 1.098 MB / 1.129 GB, free: 43.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.8577, allocations: 2.177 MB / 1.131 GB, free: 41.21 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003561/0.8613, allocations: 3.394 MB / 1.134 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.257e-05/0.8613, allocations: 9.094 kB / 1.134 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004647/0.866, allocations: 3.293 MB / 1.137 GB, free: 36.86 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.8664, allocations: 1.084 MB / 1.138 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/0.8665, allocations: 30.72 kB / 1.138 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.552e-05/0.8665, allocations: 46.69 kB / 1.138 GB, free: 35.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001884/0.8684, allocations: 0.6189 MB / 1.139 GB, free: 35.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.536e-05/0.8685, allocations: 76.91 kB / 1.139 GB, free: 35.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/0.8702, allocations: 314.3 kB / 1.139 GB, free: 34.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.8704, allocations: 117.3 kB / 1.139 GB, free: 34.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.667e-06/0.8704, allocations: 3.938 kB / 1.139 GB, free: 34.96 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003103/0.8735, allocations: 2.733 MB / 1.142 GB, free: 32.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.8736, allocations: 32 kB / 1.142 GB, free: 32.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.8736, allocations: 48 kB / 1.142 GB, free: 32.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.8751, allocations: 0.5584 MB / 1.143 GB, free: 32.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.8751, allocations: 71.72 kB / 1.143 GB, free: 31.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8764, allocations: 223.1 kB / 1.143 GB, free: 31.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001134/0.8766, allocations: 112 kB / 1.143 GB, free: 31.63 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002522/0.8791, allocations: 1.706 MB / 1.145 GB, free: 29.91 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003427/0.8794, allocations: 166 kB / 1.145 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.882, allocations: 2.219 MB / 1.147 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.8821, allocations: 11.98 kB / 1.147 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.8821, allocations: 8 kB / 1.147 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.8821, allocations: 3.984 kB / 1.147 GB, free: 27.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/0.8934, allocations: 10.98 MB / 1.158 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.146e-05/0.8935, allocations: 11.94 kB / 1.158 GB, free: 16.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001308/0.8948, allocations: 379.3 kB / 1.158 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.8948, allocations: 20.67 kB / 1.158 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.8949, allocations: 36 kB / 1.158 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.8949, allocations: 23.94 kB / 1.158 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.8949, allocations: 19.88 kB / 1.158 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/0.8974, allocations: 2.759 MB / 1.161 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007028/0.8982, allocations: 470.7 kB / 1.161 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001944/0.8984, allocations: 32 kB / 1.162 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009564/0.8993, allocations: 171.7 kB / 1.162 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.8995, allocations: 96.17 kB / 1.162 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.964e-05/0.8996, allocations: 40 kB / 1.162 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001055/0.9006, allocations: 0.9664 MB / 1.163 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9007, allocations: 3.656 kB / 1.163 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003562/0.9042, allocations: 1.129 MB / 1.164 GB, free: 9.984 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002825/0.9071, allocations: 3.337 MB / 1.167 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005122/0.9122, allocations: 3.961 MB / 1.171 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/0.9123, allocations: 448 / 1.171 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.9135, allocations: 1.055 MB / 1.172 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004272/0.9177, allocations: 405.5 kB / 1.172 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02479/0.9426, allocations: 16.76 MB / 1.189 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/0.9454, allocations: 2.864 MB / 1.192 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002845/0.9482, allocations: 1.204 MB / 1.193 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/0.9498, allocations: 1.288 MB / 1.194 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of SimCode: time 4.7e-07/0.9498, allocations: 0 / 1.194 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8228/1.773, allocations: 45.92 MB / 1.239 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002548/1.773, allocations: 215.2 kB / 1.239 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/5.179, allocations: 0 / 1.239 GB, free: 12.17 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)