Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008802/0.0008804, allocations: 91.06 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008367/0.0008367, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.482/2.482, allocations: 390.4 MB / 0.6655 GB, free: 2.953 MB / 0.5138 GB Notification: Performance of FrontEnd - loaded program: time 0.0005752/0.0005753, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.758/0.7586, allocations: 142.3 MB / 0.9539 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads): time 0.003929/0.7626, allocations: 3.806 MB / 0.9576 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.7662, allocations: 2.482 MB / 0.96 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.7665, allocations: 9.312 kB / 0.96 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.7668, allocations: 68.36 kB / 0.9601 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006971/0.7675, allocations: 304.5 kB / 0.9604 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009906/0.7685, allocations: 422.6 kB / 0.9608 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008373/0.7693, allocations: 0.8158 MB / 0.9616 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.7701, allocations: 493.6 kB / 0.962 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.7704, allocations: 230 kB / 0.9623 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004963/0.7709, allocations: 331.7 kB / 0.9626 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.771, allocations: 23.28 kB / 0.9626 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003422/0.7714, allocations: 144.6 kB / 0.9627 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.7715, allocations: 177.4 kB / 0.9629 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.7716, allocations: 108 kB / 0.963 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.7721, allocations: 0.5321 MB / 0.9635 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.7721, allocations: 0 / 0.9635 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7722, allocations: 1.25 kB / 0.9635 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.7722, allocations: 0 / 0.9635 GB, free: 0.875 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001275/0.7734, allocations: 0.7655 MB / 0.9643 GB, free: 236 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.7735, allocations: 11.62 kB / 0.9643 GB, free: 236 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.7736, allocations: 91.08 kB / 0.9644 GB, free: 152 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000814/0.7744, allocations: 153 kB / 0.9645 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.7749, allocations: 356.8 kB / 0.9649 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.752e-05/0.775, allocations: 30.7 kB / 0.9649 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.7751, allocations: 39.28 kB / 0.9649 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.7764, allocations: 0.8418 MB / 0.9657 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.7765, allocations: 7.281 kB / 0.9657 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.832e-05/0.7765, allocations: 26.16 kB / 0.9658 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.7767, allocations: 64.77 kB / 0.9658 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00142/0.7781, allocations: 0.7 MB / 0.9665 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005704/0.7838, allocations: 4.494 MB / 0.9709 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.7856, allocations: 0.6187 MB / 0.9715 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/0.7866, allocations: 316.7 kB / 0.9718 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.7866, allocations: 7.547 kB / 0.9718 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/0.7867, allocations: 40.89 kB / 0.9719 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=38): time 2.965e-06/0.7867, allocations: 1.094 kB / 0.9719 GB, free: 9.906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.002412/0.7891, allocations: 0.994 MB / 0.9728 GB, free: 9.387 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.797e-05/0.7892, allocations: 85.11 kB / 0.9729 GB, free: 9.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.7897, allocations: 354.1 kB / 0.9733 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.7897, allocations: 32.05 kB / 0.9733 GB, free: 9.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002706/0.79, allocations: 282.7 kB / 0.9736 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001651/0.7902, allocations: 137 kB / 0.9737 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.7902, allocations: 9.062 kB / 0.9737 GB, free: 8.641 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.7904, allocations: 349.3 kB / 0.974 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.7911, allocations: 285.7 kB / 0.9743 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008496/0.792, allocations: 493.5 kB / 0.9748 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006753/0.7927, allocations: 338.2 kB / 0.9751 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.7927, allocations: 6 kB / 0.9751 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001691/0.7944, allocations: 0.8228 MB / 0.9759 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.7947, allocations: 293.7 kB / 0.9762 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.7947, allocations: 6.344 kB / 0.9762 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.7947, allocations: 11.5 kB / 0.9762 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007459/0.7955, allocations: 171.7 kB / 0.9764 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.7955, allocations: 14.09 kB / 0.9764 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.7961, allocations: 84.64 kB / 0.9765 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.7961, allocations: 29.86 kB / 0.9765 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.616e-06/0.7961, allocations: 3.75 kB / 0.9765 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001247/0.7974, allocations: 0.6421 MB / 0.9771 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7974, allocations: 11.11 kB / 0.9771 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.7974, allocations: 10.88 kB / 0.9771 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.798, allocations: 155.8 kB / 0.9773 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.798, allocations: 18.09 kB / 0.9773 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.7985, allocations: 70.05 kB / 0.9774 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.285e-05/0.7985, allocations: 28.17 kB / 0.9774 GB, free: 6.324 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (68): * Single equations (assignments): 68 * 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.0003879/0.7989, allocations: 284.4 kB / 0.9777 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.799, allocations: 48.09 kB / 0.9777 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.8004, allocations: 0.6783 MB / 0.9784 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.8004, allocations: 3.812 kB / 0.9784 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.8004, allocations: 1.031 kB / 0.9784 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.816e-06/0.8005, allocations: 4.984 kB / 0.9784 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.803, allocations: 1.485 MB / 0.9798 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.803, allocations: 0 / 0.9798 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.8037, allocations: 155.8 kB / 0.98 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.8037, allocations: 4 kB / 0.98 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.8037, allocations: 11.95 kB / 0.98 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.8037, allocations: 12.16 kB / 0.98 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.8038, allocations: 0 / 0.98 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.805, allocations: 0.8394 MB / 0.9808 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.8053, allocations: 172.5 kB / 0.981 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.634e-05/0.8053, allocations: 12 kB / 0.981 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.8057, allocations: 63.88 kB / 0.9811 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.8059, allocations: 31.95 kB / 0.9811 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.8059, allocations: 12 kB / 0.9811 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002952/0.8062, allocations: 247.2 kB / 0.9813 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8062, allocations: 0 / 0.9813 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009126/0.8071, allocations: 200 kB / 0.9815 GB, free: 2.781 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (42): * Single equations (assignments): 42 * 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.001569/0.8087, allocations: 1.381 MB / 0.9829 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8107, allocations: 1.006 MB / 0.9839 GB, free: 360 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.8107, allocations: 8.125 kB / 0.9839 GB, free: 352 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005529/0.8113, allocations: 315.9 kB / 0.9842 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008454/0.8121, allocations: 112.3 kB / 0.9843 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005809/0.8179, allocations: 3.127 MB / 0.9873 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/0.8185, allocations: 0.8796 MB / 0.9882 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0006688/0.8192, allocations: 204 kB / 0.9884 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.8195, allocations: 155.4 kB / 0.9885 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of SimCode: time 9.12e-07/0.8195, allocations: 0 / 0.9885 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02648/0.846, allocations: 9.896 MB / 0.9982 GB, free: 1.742 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/0.8463, allocations: 205.7 kB / 0.9984 GB, free: 1.508 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.795, allocations: 0 / 0.9984 GB, free: 1.508 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat