Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_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.298/2.298, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001003/0.001003, allocations: 192.6 kB / 487.4 MB, free: 5.043 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.566/1.566, allocations: 221.5 MB / 0.7824 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009211/0.0009213, allocations: 91.91 kB / 0.9219 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.758e-05/2.718e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3148, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.02/1.335, allocations: 176.1 MB / 1.378 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.335, allocations: 93.64 kB / 1.378 GB, free: 18.01 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06703/1.402, allocations: 30.83 MB / 1.408 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/1.402, allocations: 0 / 1.408 GB, free: 19.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.035e-05/1.402, allocations: 8 kB / 1.408 GB, free: 19.92 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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.001196/1.403, allocations: 0.7201 MB / 1.409 GB, free: 19.19 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.403, allocations: 16.03 kB / 1.409 GB, free: 19.17 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.405, allocations: 175.1 kB / 1.409 GB, free: 19 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/1.405, allocations: 369.9 kB / 1.409 GB, free: 18.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/1.405, allocations: 12 kB / 1.409 GB, free: 18.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.862e-05/1.405, allocations: 24 kB / 1.41 GB, free: 18.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006546/1.406, allocations: 463 kB / 1.41 GB, free: 18.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/1.407, allocations: 0.7121 MB / 1.411 GB, free: 17.63 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.407, allocations: 15.86 kB / 1.411 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/1.407, allocations: 4 kB / 1.411 GB, free: 17.61 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/1.407, allocations: 48.12 kB / 1.411 GB, free: 17.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/1.41, allocations: 4.504 MB / 1.415 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008265/1.411, allocations: 453.2 kB / 1.416 GB, free: 12.72 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/1.411, allocations: 242.3 kB / 1.416 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/1.412, allocations: 7.828 kB / 1.416 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.412, allocations: 42.16 kB / 1.416 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/1.412, allocations: 3.938 kB / 1.416 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001142/1.413, allocations: 0.5883 MB / 1.416 GB, free: 12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.413, allocations: 85.05 kB / 1.416 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/1.413, allocations: 283.6 kB / 1.417 GB, free: 11.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/1.413, allocations: 25.7 kB / 1.417 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/1.413, allocations: 290.1 kB / 1.417 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/1.413, allocations: 121.3 kB / 1.417 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/1.413, allocations: 0 / 1.417 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001627/1.414, allocations: 346.7 kB / 1.418 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002839/1.414, allocations: 209.7 kB / 1.418 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/1.414, allocations: 435 kB / 1.418 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/1.415, allocations: 279.3 kB / 1.418 GB, free: 10.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/1.415, allocations: 7.953 kB / 1.418 GB, free: 10.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008976/1.416, allocations: 0.6398 MB / 1.419 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00109/1.417, allocations: 2.786 MB / 1.422 GB, free: 6.727 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.417, allocations: 11.98 kB / 1.422 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/1.417, allocations: 15.95 kB / 1.422 GB, free: 6.699 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007122/1.418, allocations: 162.2 kB / 1.422 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/1.418, allocations: 15.92 kB / 1.422 GB, free: 6.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/1.418, allocations: 66.84 kB / 1.422 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/1.418, allocations: 27.05 kB / 1.422 GB, free: 6.441 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-06/1.418, allocations: 5.875 kB / 1.422 GB, free: 6.438 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000691/1.419, allocations: 477.7 kB / 1.422 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/1.419, allocations: 8 kB / 1.422 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.419, allocations: 16.09 kB / 1.423 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005204/1.419, allocations: 143.1 kB / 1.423 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/1.419, allocations: 15.92 kB / 1.423 GB, free: 5.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/1.42, allocations: 47.19 kB / 1.423 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/1.42, allocations: 27.23 kB / 1.423 GB, free: 5.832 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002123/1.42, allocations: 132.4 kB / 1.423 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006924/1.421, allocations: 445.4 kB / 1.423 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.662e-05/1.421, allocations: 42.78 kB / 1.423 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000799/1.422, allocations: 0.4898 MB / 1.424 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.241e-06/1.422, allocations: 4 kB / 1.424 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/1.422, allocations: 0 / 1.424 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/1.422, allocations: 3.984 kB / 1.424 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002121/1.424, allocations: 1.448 MB / 1.425 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.424, allocations: 4 kB / 1.425 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005859/1.424, allocations: 118.5 kB / 1.425 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/1.424, allocations: 7.953 kB / 1.425 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/1.424, allocations: 4.469 kB / 1.425 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.5e-05/1.424, allocations: 12 kB / 1.425 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.424, allocations: 11.88 kB / 1.425 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008759/1.425, allocations: 0.8903 MB / 1.426 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/1.426, allocations: 167.2 kB / 1.426 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/1.426, allocations: 4 kB / 1.426 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000404/1.426, allocations: 51.88 kB / 1.426 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.584e-05/1.426, allocations: 34.92 kB / 1.426 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/1.426, allocations: 12 kB / 1.427 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002112/1.426, allocations: 218.5 kB / 1.427 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.426, allocations: 0 / 1.427 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009296/1.427, allocations: 176.1 kB / 1.427 GB, free: 2.004 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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.001539/1.429, allocations: 2.486 MB / 1.429 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001103/1.43, allocations: 0.7654 MB / 1.43 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/1.43, allocations: 0 / 1.43 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003185/1.43, allocations: 234.3 kB / 1.43 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006362/1.431, allocations: 96.06 kB / 1.43 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/1.433, allocations: 0.8774 MB / 1.431 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/1.433, allocations: 0.8792 MB / 1.432 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0006654/1.434, allocations: 215.2 kB / 1.432 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/1.434, allocations: 148.1 kB / 1.432 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/1.434, allocations: 0 / 1.432 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/1.466, allocations: 9.067 MB / 1.441 GB, free: 3.711 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002042/1.467, allocations: 153.6 kB / 1.441 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.196/3.663, allocations: 0 / 1.441 GB, free: 3.516 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat