Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001052, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 206.4 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.186/1.186, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6145/0.6145, allocations: 115.3 MB / 405.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 64.94 kB / 493 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.1147, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00222/0.1169, allocations: 1.319 MB / 0.5571 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003224/0.1173, allocations: 123.6 kB / 0.5572 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.1173, allocations: 0 / 0.5572 GB, free: 9.309 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1174, allocations: 7.938 kB / 0.5573 GB, free: 9.301 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.13e-05/0.1174, allocations: 3.984 kB / 0.5573 GB, free: 9.297 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.1176, allocations: 31.91 kB / 0.5573 GB, free: 9.266 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.1177, allocations: 7.938 kB / 0.5573 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.792e-05/0.1177, allocations: 8 kB / 0.5573 GB, free: 9.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.067e-05/0.1177, allocations: 7.984 kB / 0.5573 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.1178, allocations: 15.86 kB / 0.5573 GB, free: 9.227 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.221e-05/0.1178, allocations: 4 kB / 0.5573 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1179, allocations: 47.94 kB / 0.5574 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1179, allocations: 4 kB / 0.5574 GB, free: 9.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.118, allocations: 7.938 kB / 0.5574 GB, free: 9.164 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1181, allocations: 35.95 kB / 0.5574 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1181, allocations: 0 / 0.5574 GB, free: 9.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1181, allocations: 0 / 0.5574 GB, free: 9.129 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1181, allocations: 0 / 0.5574 GB, free: 9.129 MB / 430.1 MB 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.0003393/0.1184, allocations: 335.8 kB / 0.5577 GB, free: 8.754 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1185, allocations: 8.031 kB / 0.5578 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.838e-05/0.1185, allocations: 30.75 kB / 0.5578 GB, free: 8.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.331e-05/0.1185, allocations: 4.844 kB / 0.5578 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.1187, allocations: 180.3 kB / 0.558 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.1187, allocations: 384 / 0.558 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1187, allocations: 384 / 0.558 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.889e-05/0.1188, allocations: 37.64 kB / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.601e-06/0.1188, allocations: 0 / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.1188, allocations: 0 / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.1188, allocations: 0 / 0.558 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.764e-05/0.1188, allocations: 4 kB / 0.558 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001397/0.119, allocations: 153.7 kB / 0.5581 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.729e-05/0.119, allocations: 26.55 kB / 0.5582 GB, free: 8.207 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.119, allocations: 16.84 kB / 0.5582 GB, free: 8.188 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006433/0.1197, allocations: 0.609 MB / 0.5588 GB, free: 7.449 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.1197, allocations: 30.56 kB / 0.5588 GB, free: 7.41 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1197, allocations: 0 / 0.5588 GB, free: 7.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001166/0.1199, allocations: 45.69 kB / 0.5589 GB, free: 7.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1199, allocations: 55.41 kB / 0.5589 GB, free: 7.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.586e-05/0.12, allocations: 101.8 kB / 0.559 GB, free: 7.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.12, allocations: 25.7 kB / 0.559 GB, free: 7.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.548e-05/0.12, allocations: 84.12 kB / 0.5591 GB, free: 7.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.12, allocations: 7.906 kB / 0.5591 GB, free: 7.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1201, allocations: 13.72 kB / 0.5591 GB, free: 7.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.1202, allocations: 310.8 kB / 0.5594 GB, free: 6.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.1202, allocations: 4.125 kB / 0.5594 GB, free: 6.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.378e-06/0.1202, allocations: 8 kB / 0.5594 GB, free: 6.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.1202, allocations: 8.859 kB / 0.5594 GB, free: 6.703 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1202, allocations: 0 / 0.5594 GB, free: 6.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.877e-05/0.1203, allocations: 49.62 kB / 0.5595 GB, free: 6.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1203, allocations: 4 kB / 0.5595 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1203, allocations: 0 / 0.5595 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.736e-06/0.1203, allocations: 7.875 kB / 0.5595 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.495e-05/0.1204, allocations: 4.094 kB / 0.5595 GB, free: 6.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1204, allocations: 4 kB / 0.5595 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.1204, allocations: 0 / 0.5595 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.1204, allocations: 0 / 0.5595 GB, free: 6.629 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.251e-05/0.1205, allocations: 117.8 kB / 0.5596 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.1205, allocations: 15.83 kB / 0.5596 GB, free: 6.488 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.093e-05/0.1206, allocations: 40.83 kB / 0.5597 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1206, allocations: 0 / 0.5597 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1206, allocations: 0 / 0.5597 GB, free: 6.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.1206, allocations: 12.02 kB / 0.5597 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.732e-05/0.1207, allocations: 145.7 kB / 0.5598 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1207, allocations: 3.938 kB / 0.5598 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.12e-05/0.1208, allocations: 7.938 kB / 0.5598 GB, free: 6.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1208, allocations: 3.984 kB / 0.5598 GB, free: 6.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.1208, allocations: 4 kB / 0.5598 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1208, allocations: 3.938 kB / 0.5599 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1208, allocations: 0 / 0.5599 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.653e-05/0.1209, allocations: 61.14 kB / 0.5599 GB, free: 6.141 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.033e-05/0.1209, allocations: 85.03 kB / 0.56 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.1209, allocations: 4 kB / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.587e-05/0.1209, allocations: 0 / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-06/0.1209, allocations: 0 / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.121, allocations: 0 / 0.56 GB, free: 6.035 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.018e-05/0.121, allocations: 83.28 kB / 0.5601 GB, free: 5.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.121, allocations: 0 / 0.5601 GB, free: 5.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001819/0.1212, allocations: 12 kB / 0.5601 GB, free: 5.941 MB / 430.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003625/0.1216, allocations: 0.6202 MB / 0.5607 GB, free: 5.289 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.188e-05/0.1216, allocations: 8 kB / 0.5607 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1216, allocations: 0 / 0.5607 GB, free: 5.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.265e-05/0.1216, allocations: 4 kB / 0.5607 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002089/0.1219, allocations: 15.56 kB / 0.5607 GB, free: 5.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.1227, allocations: 1.093 MB / 0.5618 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.1229, allocations: 0.6731 MB / 0.5624 GB, free: 3.391 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.348e-05/0.1229, allocations: 3.938 kB / 0.5624 GB, free: 3.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.063e-05/0.123, allocations: 15.38 kB / 0.5625 GB, free: 3.371 MB / 430.1 MB Notification: Performance of SimCode: time 2.21e-07/0.123, allocations: 0 / 0.5625 GB, free: 3.371 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1505/0.2735, allocations: 1.281 MB / 0.5637 GB, free: 2.207 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.2737, allocations: 203.2 kB / 0.5639 GB, free: 1.953 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.596/1.869, allocations: 7.875 kB / 0.5639 GB, free: 1.945 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)