Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.251/2.251, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 184.8 kB / 491.2 MB, free: 1.562 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.5 MB / 0.7868 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.0009187, allocations: 91.59 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.148e-05/2.151e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2877, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.996/1.284, allocations: 178.6 MB / 1.387 GB, free: 17.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.284, allocations: 98.7 kB / 1.387 GB, free: 17.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06819/1.352, allocations: 31.05 MB / 1.417 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.362e-06/1.352, allocations: 0 / 1.417 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.13e-05/1.352, allocations: 19.98 kB / 1.417 GB, free: 11.21 MB / 0.8386 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.001474/1.354, allocations: 0.7522 MB / 1.418 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/1.354, allocations: 8.031 kB / 1.418 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/1.355, allocations: 179.1 kB / 1.418 GB, free: 10.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/1.356, allocations: 380.5 kB / 1.419 GB, free: 9.891 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.508e-05/1.356, allocations: 16 kB / 1.419 GB, free: 9.875 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-05/1.356, allocations: 24 kB / 1.419 GB, free: 9.852 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007698/1.357, allocations: 475.2 kB / 1.419 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/1.358, allocations: 0.7106 MB / 1.42 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.358, allocations: 7.922 kB / 1.42 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.31e-05/1.358, allocations: 7.984 kB / 1.42 GB, free: 8.863 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.657e-05/1.358, allocations: 51.5 kB / 1.42 GB, free: 8.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004327/1.362, allocations: 4.394 MB / 1.424 GB, free: 4.406 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/1.363, allocations: 0.5562 MB / 1.425 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003402/1.364, allocations: 253.4 kB / 1.425 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/1.364, allocations: 4 kB / 1.425 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/1.364, allocations: 38.06 kB / 1.425 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.014e-06/1.364, allocations: 4 kB / 1.425 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.00117/1.365, allocations: 0.6161 MB / 1.426 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/1.365, allocations: 85.11 kB / 1.426 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/1.365, allocations: 277.3 kB / 1.426 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/1.365, allocations: 25.7 kB / 1.426 GB, free: 2.895 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/1.366, allocations: 282.6 kB / 1.426 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/1.366, allocations: 132.2 kB / 1.426 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/1.366, allocations: 0 / 1.426 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.366, allocations: 355 kB / 1.427 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/1.366, allocations: 211.7 kB / 1.427 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000444/1.367, allocations: 422.1 kB / 1.427 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003677/1.367, allocations: 280.5 kB / 1.428 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/1.367, allocations: 15.89 kB / 1.428 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009544/1.368, allocations: 0.654 MB / 1.428 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.001273/1.369, allocations: 2.605 MB / 1.431 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/1.369, allocations: 8 kB / 1.431 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.369, allocations: 12 kB / 1.431 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/1.37, allocations: 187.6 kB / 1.431 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/1.37, allocations: 11.94 kB / 1.431 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/1.371, allocations: 67.77 kB / 1.431 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/1.371, allocations: 27.8 kB / 1.431 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.371, allocations: 7.938 kB / 1.431 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000709/1.371, allocations: 486.5 kB / 1.431 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.371, allocations: 8 kB / 1.431 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.371, allocations: 12 kB / 1.432 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/1.372, allocations: 159.1 kB / 1.432 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.372, allocations: 8 kB / 1.432 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003684/1.373, allocations: 67.81 kB / 1.432 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/1.373, allocations: 26.12 kB / 1.432 GB, free: 13.23 MB / 0.8542 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 () * 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.0001652/1.373, allocations: 124.5 kB / 1.432 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007537/1.373, allocations: 489.3 kB / 1.432 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/1.374, allocations: 43.48 kB / 1.432 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009065/1.374, allocations: 0.5459 MB / 1.433 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/1.375, allocations: 4 kB / 1.433 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.375, allocations: 0 / 1.433 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/1.375, allocations: 7.984 kB / 1.433 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.376, allocations: 1.264 MB / 1.434 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.376, allocations: 3.938 kB / 1.434 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/1.377, allocations: 151.5 kB / 1.434 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.558e-06/1.377, allocations: 4.219 kB / 1.434 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/1.377, allocations: 8 kB / 1.434 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/1.377, allocations: 4 kB / 1.434 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.377, allocations: 0 / 1.434 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/1.379, allocations: 0.7899 MB / 1.435 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003066/1.379, allocations: 171 kB / 1.435 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/1.379, allocations: 0 / 1.435 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004516/1.379, allocations: 51.92 kB / 1.435 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.38, allocations: 38.78 kB / 1.435 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/1.38, allocations: 12 kB / 1.435 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002743/1.38, allocations: 218.9 kB / 1.436 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.91e-07/1.38, allocations: 0 / 1.436 GB, free: 9.848 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001039/1.381, allocations: 176.1 kB / 1.436 GB, free: 9.676 MB / 0.8542 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 () * 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.001555/1.382, allocations: 1.834 MB / 1.438 GB, free: 7.895 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001399/1.384, allocations: 0.7947 MB / 1.438 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/1.384, allocations: 8 kB / 1.438 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003479/1.384, allocations: 255.4 kB / 1.439 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006672/1.385, allocations: 93.52 kB / 1.439 GB, free: 7.066 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/1.387, allocations: 0.9015 MB / 1.44 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/1.388, allocations: 0.8947 MB / 1.44 GB, free: 5.297 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000808/1.389, allocations: 216 kB / 1.441 GB, free: 5.082 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/1.389, allocations: 155.9 kB / 1.441 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of SimCode: time 1.052e-06/1.389, allocations: 0 / 1.441 GB, free: 5.035 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/1.426, allocations: 9.756 MB / 1.45 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/1.426, allocations: 167.7 kB / 1.45 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.295/3.721, allocations: 0 / 1.45 GB, free: 11.17 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat