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.361/2.361, allocations: 390.5 MB / 398 MB, free: 10.95 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.001443/0.001443, allocations: 183 kB / 491.2 MB, free: 1.605 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.56/1.56, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001094/0.001094, allocations: 113.3 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.883e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2966, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.1/1.396, allocations: 176.9 MB / 1.385 GB, free: 16.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.397, allocations: 92.03 kB / 1.385 GB, free: 16.87 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.06772/1.464, allocations: 30.83 MB / 1.415 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.784e-06/1.464, allocations: 0 / 1.415 GB, free: 12.85 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.636e-05/1.465, allocations: 12 kB / 1.415 GB, free: 12.84 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.001884/1.466, allocations: 0.7235 MB / 1.416 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.466, allocations: 11.97 kB / 1.416 GB, free: 12.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/1.468, allocations: 182.2 kB / 1.416 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006697/1.469, allocations: 368.2 kB / 1.417 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/1.469, allocations: 12 kB / 1.417 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/1.469, allocations: 31.94 kB / 1.417 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008535/1.47, allocations: 460.7 kB / 1.417 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/1.471, allocations: 0.7129 MB / 1.418 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/1.471, allocations: 4 kB / 1.418 GB, free: 10.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/1.471, allocations: 4 kB / 1.418 GB, free: 10.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/1.471, allocations: 51.5 kB / 1.418 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004566/1.476, allocations: 4.505 MB / 1.422 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008352/1.477, allocations: 457.3 kB / 1.423 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000325/1.477, allocations: 236.9 kB / 1.423 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/1.477, allocations: 4 kB / 1.423 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.477, allocations: 42.48 kB / 1.423 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=33): time 3.066e-06/1.477, allocations: 0 / 1.423 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.001241/1.478, allocations: 0.5863 MB / 1.424 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/1.478, allocations: 85.2 kB / 1.424 GB, free: 4.797 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/1.479, allocations: 280.6 kB / 1.424 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/1.479, allocations: 25.7 kB / 1.424 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/1.479, allocations: 297.1 kB / 1.424 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/1.479, allocations: 117.1 kB / 1.424 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/1.479, allocations: 0 / 1.424 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.479, allocations: 350.2 kB / 1.425 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.479, allocations: 211.7 kB / 1.425 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004533/1.48, allocations: 425.5 kB / 1.425 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/1.48, allocations: 279.7 kB / 1.426 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.48, allocations: 0 / 1.426 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000993/1.481, allocations: 0.6545 MB / 1.426 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00119/1.483, allocations: 2.783 MB / 1.429 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.483, allocations: 11.95 kB / 1.429 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.734e-05/1.483, allocations: 12 kB / 1.429 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007672/1.483, allocations: 171.4 kB / 1.429 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.483, allocations: 15.94 kB / 1.429 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004833/1.484, allocations: 55.78 kB / 1.429 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/1.484, allocations: 31.86 kB / 1.429 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/1.484, allocations: 4 kB / 1.429 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007004/1.485, allocations: 478.7 kB / 1.43 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.485, allocations: 4 kB / 1.43 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/1.485, allocations: 16.03 kB / 1.43 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005411/1.485, allocations: 147.6 kB / 1.43 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.398e-05/1.485, allocations: 19.88 kB / 1.43 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003494/1.486, allocations: 48.17 kB / 1.43 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/1.486, allocations: 27.81 kB / 1.43 GB, free: 14.73 MB / 0.8542 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.0001559/1.486, allocations: 124.7 kB / 1.43 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007025/1.487, allocations: 449.5 kB / 1.43 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.967e-05/1.487, allocations: 39.53 kB / 1.43 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008492/1.488, allocations: 0.5023 MB / 1.431 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/1.488, allocations: 4 kB / 1.431 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.488, allocations: 4 kB / 1.431 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.488, allocations: 0 / 1.431 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/1.49, allocations: 1.44 MB / 1.432 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/1.49, allocations: 4 kB / 1.432 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/1.49, allocations: 124.2 kB / 1.432 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.49, allocations: 11.94 kB / 1.432 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/1.49, allocations: 4 kB / 1.432 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/1.49, allocations: 7.984 kB / 1.433 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.49, allocations: 11.92 kB / 1.433 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/1.492, allocations: 0.8841 MB / 1.433 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002586/1.492, allocations: 175.6 kB / 1.434 GB, free: 11.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/1.492, allocations: 4 kB / 1.434 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/1.492, allocations: 43.94 kB / 1.434 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/1.492, allocations: 34.09 kB / 1.434 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/1.493, allocations: 20 kB / 1.434 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002792/1.493, allocations: 223.9 kB / 1.434 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.493, allocations: 0 / 1.434 GB, free: 11.06 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001028/1.494, allocations: 176.1 kB / 1.434 GB, free: 10.89 MB / 0.8542 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.001985/1.496, allocations: 2.482 MB / 1.436 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001251/1.497, allocations: 0.7634 MB / 1.437 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.497, allocations: 4 kB / 1.437 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003374/1.497, allocations: 233.1 kB / 1.437 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006729/1.498, allocations: 96.05 kB / 1.438 GB, free: 7.613 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/1.5, allocations: 0.8763 MB / 1.438 GB, free: 6.754 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/1.501, allocations: 0.8837 MB / 1.439 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000643/1.501, allocations: 207.2 kB / 1.439 GB, free: 5.648 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002424/1.501, allocations: 149.1 kB / 1.44 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of SimCode: time 2.91e-07/1.501, allocations: 0 / 1.44 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03092/1.532, allocations: 9.063 MB / 1.448 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/1.533, allocations: 154.6 kB / 1.449 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.691, allocations: 0 / 1.449 GB, free: 12.41 MB / 0.8698 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