Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.481/2.481, allocations: 390.5 MB / 398 MB, free: 10.93 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.001258/0.001258, allocations: 171.6 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.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.001032/0.001032, allocations: 93.58 kB / 0.9269 GB, free: 13.87 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.816e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2531, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.141, allocations: 149.5 MB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/1.141, allocations: 79.69 kB / 1.358 GB, free: 17.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005499/1.147, allocations: 1.804 MB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.814e-06/1.147, allocations: 4.219 kB / 1.36 GB, free: 33.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.504e-06/1.147, allocations: 0 / 1.36 GB, free: 33.2 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003133/1.147, allocations: 349.1 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/1.147, allocations: 13.22 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/1.147, allocations: 8.5 kB / 1.361 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/1.147, allocations: 167 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.147, allocations: 0 / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/1.147, allocations: 3.875 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.969e-05/1.147, allocations: 10.56 kB / 1.361 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.962e-05/1.147, allocations: 39.06 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/1.147, allocations: 3 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.147, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/1.147, allocations: 3.984 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/1.148, allocations: 141.5 kB / 1.361 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.519e-05/1.148, allocations: 34.94 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/1.148, allocations: 11.83 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000872/1.149, allocations: 1.171 MB / 1.362 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/1.149, allocations: 34.38 kB / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.643e-06/1.149, allocations: 0 / 1.362 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.000182/1.149, allocations: 47.27 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.865e-05/1.149, allocations: 52.77 kB / 1.362 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/1.149, allocations: 104.8 kB / 1.362 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/1.149, allocations: 25.7 kB / 1.362 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.845e-05/1.149, allocations: 84.64 kB / 1.362 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/1.149, allocations: 5.266 kB / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/1.149, allocations: 0 / 1.362 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001008/1.149, allocations: 314.7 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/1.149, allocations: 0 / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.171e-05/1.149, allocations: 8.984 kB / 1.363 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/1.149, allocations: 12.98 kB / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.149, allocations: 0 / 1.363 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.373e-05/1.149, allocations: 44.25 kB / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.149, allocations: 7.844 kB / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/1.149, allocations: 0 / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/1.149, allocations: 3.938 kB / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.08e-05/1.149, allocations: 5.25 kB / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.149, allocations: 0 / 1.363 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.882e-05/1.149, allocations: 3.938 kB / 1.363 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/1.15, allocations: 9.219 kB / 1.363 GB, free: 30.35 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.934e-05/1.15, allocations: 105 kB / 1.363 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.826e-05/1.15, allocations: 51.72 kB / 1.363 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-06/1.15, allocations: 3.875 kB / 1.363 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/1.15, allocations: 57.95 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/1.15, allocations: 0 / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/1.15, allocations: 0 / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/1.15, allocations: 5.625 kB / 1.363 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.293e-05/1.15, allocations: 144.2 kB / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/1.15, allocations: 0 / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/1.15, allocations: 5.656 kB / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/1.15, allocations: 0 / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.15, allocations: 0 / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/1.15, allocations: 0.5625 kB / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.15, allocations: 0 / 1.363 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/1.15, allocations: 76.75 kB / 1.363 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/1.15, allocations: 92.14 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/1.15, allocations: 4 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/1.15, allocations: 0.5 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/1.15, allocations: 5.406 kB / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/1.15, allocations: 0 / 1.363 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.583e-05/1.15, allocations: 83.97 kB / 1.363 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.15, allocations: 0 / 1.363 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002272/1.151, allocations: 29.02 kB / 1.364 GB, free: 29.73 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0004886/1.151, allocations: 0.6517 MB / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.929e-05/1.151, allocations: 9.312 kB / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.151, allocations: 0 / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.259e-05/1.151, allocations: 11.44 kB / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001394/1.151, allocations: 1.547 kB / 1.364 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002961/1.152, allocations: 110.3 kB / 1.364 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/1.152, allocations: 0.6864 MB / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.868e-05/1.152, allocations: 4.328 kB / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.714e-05/1.152, allocations: 11.31 kB / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of SimCode: time 1.162e-06/1.152, allocations: 0 / 1.365 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/1.172, allocations: 1.103 MB / 1.366 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001392/1.172, allocations: 157.2 kB / 1.366 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.745, allocations: 4 kB / 1.366 GB, free: 28.03 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat --tempDir=temp_Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat does not exist to compare? outputFormat=mat