Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.44/2.44, allocations: 390.3 MB / 402.8 MB, free: 6.664 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.001352/0.001352, allocations: 192.2 kB / 496.1 MB, free: 12.83 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.112/2.112, allocations: 221.3 MB / 0.7915 GB, free: 5.414 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.001096/0.001096, allocations: 107.5 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.636e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.2999, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.047/1.347, allocations: 177.6 MB / 1.392 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003251/1.348, allocations: 93.84 kB / 1.392 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.07868/1.426, allocations: 30.94 MB / 1.423 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.996e-06/1.427, allocations: 3.984 kB / 1.423 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.119e-05/1.427, allocations: 8 kB / 1.423 GB, free: 15.87 MB / 0.8855 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.001578/1.428, allocations: 0.7223 MB / 1.423 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.428, allocations: 19.97 kB / 1.423 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/1.428, allocations: 81.97 kB / 1.423 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/1.43, allocations: 179.1 kB / 1.424 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/1.43, allocations: 370.6 kB / 1.424 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.312e-05/1.43, allocations: 26.44 kB / 1.424 GB, free: 14.49 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.431, allocations: 42.92 kB / 1.424 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/1.432, allocations: 0.7691 MB / 1.425 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.387e-05/1.432, allocations: 7.938 kB / 1.425 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.295e-05/1.432, allocations: 22.92 kB / 1.425 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.339e-05/1.432, allocations: 51.62 kB / 1.425 GB, free: 13.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009355/1.433, allocations: 0.5794 MB / 1.425 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004161/1.437, allocations: 4.601 MB / 1.43 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008212/1.438, allocations: 466.2 kB / 1.43 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003287/1.438, allocations: 252.1 kB / 1.431 GB, free: 8.156 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.439, allocations: 7.984 kB / 1.431 GB, free: 8.148 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/1.439, allocations: 38.25 kB / 1.431 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=33): time 2.725e-06/1.439, allocations: 0 / 1.431 GB, free: 8.105 MB / 0.8855 GB Notification: Performance of matching and sorting (n=34): time 0.001166/1.44, allocations: 0.607 MB / 1.431 GB, free: 7.602 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.44, allocations: 85.05 kB / 1.431 GB, free: 7.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003716/1.44, allocations: 324.4 kB / 1.432 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/1.44, allocations: 33.52 kB / 1.432 GB, free: 7.191 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/1.44, allocations: 288.4 kB / 1.432 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.44, allocations: 120.7 kB / 1.432 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/1.441, allocations: 10.56 kB / 1.432 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001288/1.441, allocations: 352.9 kB / 1.432 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/1.441, allocations: 217.7 kB / 1.433 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004434/1.441, allocations: 441.8 kB / 1.433 GB, free: 5.922 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/1.442, allocations: 294.9 kB / 1.433 GB, free: 5.711 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/1.442, allocations: 4 kB / 1.433 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001076/1.443, allocations: 0.6967 MB / 1.434 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001088/1.444, allocations: 2.795 MB / 1.437 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/1.444, allocations: 8 kB / 1.437 GB, free: 2.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/1.444, allocations: 12 kB / 1.437 GB, free: 2.191 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/1.445, allocations: 166.5 kB / 1.437 GB, free: 2.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/1.445, allocations: 15.94 kB / 1.437 GB, free: 2.016 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/1.445, allocations: 74.41 kB / 1.437 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/1.446, allocations: 27.36 kB / 1.437 GB, free: 1.93 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/1.446, allocations: 4 kB / 1.437 GB, free: 1.926 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007743/1.446, allocations: 0.537 MB / 1.437 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.446, allocations: 8.984 kB / 1.438 GB, free: 1.512 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/1.446, allocations: 15.98 kB / 1.438 GB, free: 1.496 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/1.447, allocations: 151.4 kB / 1.438 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/1.447, allocations: 19.92 kB / 1.438 GB, free: 1.336 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/1.447, allocations: 58.27 kB / 1.438 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/1.447, allocations: 27.58 kB / 1.438 GB, free: 1.262 MB / 0.8855 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.0001406/1.447, allocations: 137.7 kB / 1.438 GB, free: 1.137 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/1.448, allocations: 43.53 kB / 1.438 GB, free: 1.094 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009126/1.449, allocations: 0.5221 MB / 1.438 GB, free: 0.5938 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.449, allocations: 4 kB / 1.438 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.449, allocations: 0 / 1.438 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/1.449, allocations: 0 / 1.438 GB, free: 0.5898 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/1.451, allocations: 1.551 MB / 1.44 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/1.451, allocations: 7.953 kB / 1.44 GB, free: 14.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005751/1.452, allocations: 119.8 kB / 1.44 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.452, allocations: 7.938 kB / 1.44 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/1.452, allocations: 12 kB / 1.44 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.357e-05/1.452, allocations: 7.938 kB / 1.44 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/1.452, allocations: 4 kB / 1.44 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/1.453, allocations: 0.9084 MB / 1.441 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/1.453, allocations: 164.4 kB / 1.441 GB, free: 13.54 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.248e-05/1.453, allocations: 19.98 kB / 1.441 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/1.454, allocations: 47.94 kB / 1.441 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.454, allocations: 35.86 kB / 1.441 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/1.454, allocations: 12 kB / 1.441 GB, free: 13.42 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0003383/1.454, allocations: 253.2 kB / 1.442 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.11e-07/1.454, allocations: 0 / 1.442 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001267/1.456, allocations: 204.1 kB / 1.442 GB, free: 12.98 MB / 0.9011 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.002221/1.458, allocations: 2.512 MB / 1.444 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001683/1.46, allocations: 0.8241 MB / 1.445 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.46, allocations: 0 / 1.445 GB, free: 9.52 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004414/1.46, allocations: 240.8 kB / 1.445 GB, free: 9.285 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007583/1.461, allocations: 113.5 kB / 1.445 GB, free: 9.172 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/1.463, allocations: 0.9184 MB / 1.446 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006052/1.464, allocations: 0.8869 MB / 1.447 GB, free: 7.258 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007251/1.465, allocations: 211.9 kB / 1.447 GB, free: 7.047 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003215/1.465, allocations: 143.4 kB / 1.447 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of SimCode: time 1.092e-06/1.465, allocations: 0 / 1.447 GB, free: 6.906 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02789/1.493, allocations: 9.748 MB / 1.457 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/1.493, allocations: 162.8 kB / 1.457 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/3.85, allocations: 3.938 kB / 1.457 GB, free: 13.14 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ParallelLoads.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ParallelLoads_res.mat does not exist to compare? outputFormat=mat