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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001074/0.001074, allocations: 165 kB / 492.3 MB, free: 0.625 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.602/1.602, allocations: 221.3 MB / 0.7872 GB, free: 12.96 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.0008983/0.0008983, allocations: 98.69 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.836e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2862, allocations: 142.4 MB / 1.213 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9733/1.26, allocations: 178.5 MB / 1.387 GB, free: 17.73 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/1.26, allocations: 93.5 kB / 1.387 GB, free: 17.71 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07392/1.334, allocations: 31.16 MB / 1.417 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.334, allocations: 0 / 1.417 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.256e-05/1.334, allocations: 12 kB / 1.417 GB, free: 10.59 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.002146/1.336, allocations: 0.7578 MB / 1.418 GB, free: 9.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.336, allocations: 12.03 kB / 1.418 GB, free: 9.809 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/1.336, allocations: 88.77 kB / 1.418 GB, free: 9.738 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/1.338, allocations: 183.1 kB / 1.418 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008466/1.339, allocations: 371.4 kB / 1.419 GB, free: 9.184 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/1.339, allocations: 30.3 kB / 1.419 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/1.339, allocations: 45.8 kB / 1.419 GB, free: 9.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/1.34, allocations: 0.7697 MB / 1.42 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/1.341, allocations: 7.938 kB / 1.42 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.856e-05/1.341, allocations: 23.98 kB / 1.42 GB, free: 8.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.105e-05/1.341, allocations: 51.5 kB / 1.42 GB, free: 8.387 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/1.342, allocations: 0.5824 MB / 1.42 GB, free: 7.973 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/1.347, allocations: 4.502 MB / 1.425 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.348, allocations: 0.5648 MB / 1.425 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/1.349, allocations: 265.7 kB / 1.425 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/1.349, allocations: 7.984 kB / 1.425 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/1.349, allocations: 41.94 kB / 1.425 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=38): time 2.755e-06/1.349, allocations: 0 / 1.425 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of matching and sorting (n=39): time 0.001468/1.35, allocations: 0.6388 MB / 1.426 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/1.35, allocations: 81.11 kB / 1.426 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/1.351, allocations: 304.6 kB / 1.426 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/1.351, allocations: 29.58 kB / 1.426 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/1.351, allocations: 285.7 kB / 1.427 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/1.351, allocations: 137.5 kB / 1.427 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/1.351, allocations: 15.56 kB / 1.427 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1.351, allocations: 350.1 kB / 1.427 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000355/1.352, allocations: 225 kB / 1.427 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/1.352, allocations: 434.3 kB / 1.428 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/1.353, allocations: 295.6 kB / 1.428 GB, free: 432 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/1.353, allocations: 4 kB / 1.428 GB, free: 428 kB / 0.8386 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001252/1.354, allocations: 0.7078 MB / 1.429 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001307/1.355, allocations: 2.619 MB / 1.431 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/1.355, allocations: 11.98 kB / 1.431 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.186e-05/1.355, allocations: 12 kB / 1.431 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/1.356, allocations: 171 kB / 1.432 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/1.356, allocations: 15.94 kB / 1.432 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.357, allocations: 89.25 kB / 1.432 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.349e-05/1.357, allocations: 27.55 kB / 1.432 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/1.357, allocations: 4 kB / 1.432 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009618/1.358, allocations: 0.5365 MB / 1.432 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.358, allocations: 8 kB / 1.432 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/1.358, allocations: 15.94 kB / 1.432 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/1.359, allocations: 159 kB / 1.432 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.541e-05/1.359, allocations: 11.94 kB / 1.432 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004699/1.359, allocations: 74.03 kB / 1.432 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.596e-05/1.359, allocations: 23.56 kB / 1.432 GB, free: 12.12 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.000174/1.359, allocations: 146.3 kB / 1.433 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.36, allocations: 47.39 kB / 1.433 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/1.361, allocations: 0.575 MB / 1.433 GB, free: 11.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.361, allocations: 4 kB / 1.433 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.361, allocations: 4 kB / 1.433 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/1.361, allocations: 3.984 kB / 1.433 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002361/1.363, allocations: 1.378 MB / 1.435 GB, free: 10.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.363, allocations: 12.22 kB / 1.435 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/1.364, allocations: 150.9 kB / 1.435 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.364, allocations: 4 kB / 1.435 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.364, allocations: 7.312 kB / 1.435 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/1.364, allocations: 4 kB / 1.435 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.364, allocations: 0 / 1.435 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.365, allocations: 0.817 MB / 1.436 GB, free: 9.414 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003118/1.365, allocations: 167.2 kB / 1.436 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/1.365, allocations: 9.75 kB / 1.436 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000567/1.366, allocations: 70.36 kB / 1.436 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.366, allocations: 35.22 kB / 1.436 GB, free: 9.148 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/1.366, allocations: 15.06 kB / 1.436 GB, free: 9.137 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002957/1.367, allocations: 242.2 kB / 1.436 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.367, allocations: 0 / 1.436 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001007/1.368, allocations: 213.9 kB / 1.436 GB, free: 8.758 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.001659/1.369, allocations: 1.85 MB / 1.438 GB, free: 6.98 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001521/1.371, allocations: 0.8532 MB / 1.439 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.371, allocations: 0 / 1.439 GB, free: 6.359 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0004254/1.371, allocations: 263.2 kB / 1.439 GB, free: 6.172 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007199/1.372, allocations: 110.2 kB / 1.439 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/1.374, allocations: 0.9407 MB / 1.44 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006024/1.375, allocations: 0.883 MB / 1.441 GB, free: 4.309 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007799/1.376, allocations: 220 kB / 1.441 GB, free: 4.094 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002903/1.376, allocations: 150.1 kB / 1.441 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of SimCode: time 7.21e-07/1.376, allocations: 4 kB / 1.441 GB, free: 4.047 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/1.406, allocations: 10.39 MB / 1.452 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000207/1.407, allocations: 184.5 kB / 1.452 GB, free: 9.66 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/4.107, allocations: 0 / 1.452 GB, free: 9.66 MB / 0.8698 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