Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7751/0.7751, allocations: 128.7 MB / 143.7 MB, free: 2.336 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001294/0.001294, allocations: 185.6 kB / 173.7 MB, free: 6.145 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.862/1.862, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001001/0.001001, allocations: 90.48 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 8.125 kB / 0.5604 GB, free: 97.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.2829, allocations: 102.3 MB / 0.7353 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.2832, allocations: 79.94 kB / 0.7354 GB, free: 7.902 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002195/0.2854, allocations: 0.8479 MB / 0.7362 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2854, allocations: 0 / 0.7362 GB, free: 7.051 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.187e-05/0.2854, allocations: 0 / 0.7362 GB, free: 7.051 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003125/0.2858, allocations: 331.4 kB / 0.7366 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.2858, allocations: 8.031 kB / 0.7366 GB, free: 6.672 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.2859, allocations: 34.56 kB / 0.7366 GB, free: 6.629 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.2859, allocations: 7.953 kB / 0.7366 GB, free: 6.621 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.286, allocations: 163 kB / 0.7368 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.286, allocations: 3.938 kB / 0.7368 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.116e-06/0.2861, allocations: 0 / 0.7368 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.339e-05/0.2862, allocations: 33.69 kB / 0.7368 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2862, allocations: 0 / 0.7368 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2862, allocations: 0 / 0.7368 GB, free: 6.379 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.2862, allocations: 4 kB / 0.7368 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.131e-05/0.2862, allocations: 7.953 kB / 0.7368 GB, free: 6.367 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.2864, allocations: 157.7 kB / 0.737 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.942e-05/0.2865, allocations: 26.55 kB / 0.737 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.2871, allocations: 0.5974 MB / 0.7376 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.2871, allocations: 34.56 kB / 0.7376 GB, free: 5.359 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.2871, allocations: 4 kB / 0.7376 GB, free: 5.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001401/0.2873, allocations: 37.78 kB / 0.7376 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.736e-05/0.2873, allocations: 55.44 kB / 0.7377 GB, free: 5.246 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.533e-05/0.2874, allocations: 93 kB / 0.7378 GB, free: 5.148 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.2874, allocations: 25.7 kB / 0.7378 GB, free: 5.117 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.347e-05/0.2874, allocations: 84.08 kB / 0.7379 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.2875, allocations: 7.906 kB / 0.7379 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.2875, allocations: 0 / 0.7379 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.2876, allocations: 322.8 kB / 0.7382 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.187e-05/0.2876, allocations: 3.938 kB / 0.7382 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.2876, allocations: 8 kB / 0.7382 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.643e-05/0.2876, allocations: 0 / 0.7382 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2877, allocations: 7.938 kB / 0.7382 GB, free: 4.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.432e-05/0.2877, allocations: 37.7 kB / 0.7383 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2877, allocations: 6.5 kB / 0.7383 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2878, allocations: 0 / 0.7383 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.2878, allocations: 0 / 0.7383 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.2878, allocations: 7.984 kB / 0.7383 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.2878, allocations: 0 / 0.7383 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.83e-05/0.2879, allocations: 4.094 kB / 0.7383 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.2879, allocations: 0 / 0.7383 GB, free: 4.621 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 8.234e-05/0.288, allocations: 113.8 kB / 0.7384 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.897e-06/0.288, allocations: 0 / 0.7384 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001023/0.2881, allocations: 52.75 kB / 0.7384 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2881, allocations: 0 / 0.7384 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2881, allocations: 4 kB / 0.7384 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.2881, allocations: 192 / 0.7384 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001035/0.2882, allocations: 153.6 kB / 0.7386 GB, free: 4.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2882, allocations: 8.031 kB / 0.7386 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.2883, allocations: 3.984 kB / 0.7386 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.2883, allocations: 0 / 0.7386 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.2883, allocations: 4 kB / 0.7386 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2883, allocations: 0 / 0.7386 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2883, allocations: 0 / 0.7386 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.635e-05/0.2884, allocations: 72.92 kB / 0.7387 GB, free: 4.133 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.2884, allocations: 81.14 kB / 0.7387 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.2884, allocations: 4 kB / 0.7387 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.684e-05/0.2885, allocations: 0 / 0.7387 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.19e-05/0.2885, allocations: 0 / 0.7387 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-06/0.2885, allocations: 0 / 0.7387 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.053e-05/0.2885, allocations: 87.27 kB / 0.7388 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2885, allocations: 0 / 0.7388 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000217/0.2888, allocations: 19.94 kB / 0.7389 GB, free: 3.926 MB / 0.5105 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000385/0.2892, allocations: 0.6239 MB / 0.7395 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.548e-05/0.2892, allocations: 8 kB / 0.7395 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2892, allocations: 3.938 kB / 0.7395 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.774e-05/0.2893, allocations: 7.984 kB / 0.7395 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001781/0.2895, allocations: 7.938 kB / 0.7395 GB, free: 3.242 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005226/0.29, allocations: 350.6 kB / 0.7398 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.2902, allocations: 0.6771 MB / 0.7405 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.371e-05/0.2902, allocations: 8.062 kB / 0.7405 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.2903, allocations: 11.44 kB / 0.7405 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of SimCode: time 3.81e-07/0.2903, allocations: 0 / 0.7405 GB, free: 2.133 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01153/0.3018, allocations: 1.219 MB / 0.7417 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.302, allocations: 193.8 kB / 0.7419 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/1.761, allocations: 0 / 0.7419 GB, free: 0.8281 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)