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.001291/0.001291, allocations: 107.3 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7148/0.7148, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 62.72 kB / 0.5572 GB, free: 32.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1537, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002451/0.1562, allocations: 1.242 MB / 0.6328 GB, free: 3.648 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003331/0.1565, allocations: 123.8 kB / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.1566, allocations: 0 / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1566, allocations: 0 / 0.6329 GB, free: 3.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.1567, allocations: 7.922 kB / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1569, allocations: 35.89 kB / 0.633 GB, free: 3.484 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.915e-05/0.157, allocations: 19.92 kB / 0.633 GB, free: 3.465 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.157, allocations: 4 kB / 0.633 GB, free: 3.461 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.235e-05/0.1571, allocations: 7.984 kB / 0.633 GB, free: 3.453 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.421e-05/0.1571, allocations: 7.938 kB / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.1571, allocations: 0 / 0.633 GB, free: 3.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1573, allocations: 51.94 kB / 0.633 GB, free: 3.395 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.025e-05/0.1573, allocations: 3.938 kB / 0.633 GB, free: 3.391 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.497e-05/0.1573, allocations: 11.92 kB / 0.6331 GB, free: 3.379 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.1574, allocations: 35.94 kB / 0.6331 GB, free: 3.344 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1574, allocations: 3.938 kB / 0.6331 GB, free: 3.34 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1575, allocations: 4 kB / 0.6331 GB, free: 3.336 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.1575, allocations: 4 kB / 0.6331 GB, free: 3.332 MB / 478.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.0004207/0.1579, allocations: 334.4 kB / 0.6334 GB, free: 2.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1579, allocations: 8.031 kB / 0.6334 GB, free: 2.953 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.599e-05/0.158, allocations: 34.75 kB / 0.6335 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.158, allocations: 4.844 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.1582, allocations: 160.4 kB / 0.6336 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1582, allocations: 384 / 0.6336 GB, free: 2.711 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.1582, allocations: 12.12 kB / 0.6336 GB, free: 2.699 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.694e-05/0.1583, allocations: 33.69 kB / 0.6337 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.1583, allocations: 0 / 0.6337 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.1583, allocations: 7.938 kB / 0.6337 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.247e-06/0.1583, allocations: 0 / 0.6337 GB, free: 2.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.1583, allocations: 7.938 kB / 0.6337 GB, free: 2.645 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001713/0.1585, allocations: 154.2 kB / 0.6338 GB, free: 2.445 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.13e-05/0.1586, allocations: 22.61 kB / 0.6338 GB, free: 2.414 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.104e-05/0.1586, allocations: 16.8 kB / 0.6339 GB, free: 2.395 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006795/0.1593, allocations: 0.6052 MB / 0.6345 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.1593, allocations: 30.56 kB / 0.6345 GB, free: 1.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1593, allocations: 0 / 0.6345 GB, free: 1.621 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001462/0.1595, allocations: 45.64 kB / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1595, allocations: 51.41 kB / 0.6346 GB, free: 1.508 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.1596, allocations: 106 kB / 0.6347 GB, free: 1.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1596, allocations: 29.7 kB / 0.6347 GB, free: 1.359 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.937e-05/0.1597, allocations: 80.14 kB / 0.6348 GB, free: 1.277 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.1597, allocations: 12.12 kB / 0.6348 GB, free: 1.266 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.1597, allocations: 9.719 kB / 0.6348 GB, free: 1.25 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1598, allocations: 314.8 kB / 0.6351 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1599, allocations: 7.984 kB / 0.6351 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.867e-06/0.1599, allocations: 0 / 0.6351 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.754e-05/0.1599, allocations: 16.92 kB / 0.6351 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1599, allocations: 0 / 0.6351 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.61e-05/0.16, allocations: 45.58 kB / 0.6352 GB, free: 0.8555 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.16, allocations: 5.406 kB / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.16, allocations: 0 / 0.6352 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.16, allocations: 4 kB / 0.6352 GB, free: 0.8477 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.1601, allocations: 3.984 kB / 0.6352 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1601, allocations: 4 kB / 0.6352 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.657e-05/0.1601, allocations: 3.938 kB / 0.6352 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.1601, allocations: 4.031 kB / 0.6352 GB, free: 0.832 MB / 478.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.247e-05/0.1602, allocations: 105.8 kB / 0.6353 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.1602, allocations: 15.84 kB / 0.6353 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.285e-05/0.1603, allocations: 48.75 kB / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1603, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.1603, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1603, allocations: 0 / 0.6354 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.1605, allocations: 157.5 kB / 0.6355 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1605, allocations: 4.031 kB / 0.6355 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.049e-05/0.1605, allocations: 4 kB / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1605, allocations: 0 / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1605, allocations: 0 / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1605, allocations: 0 / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1606, allocations: 0 / 0.6355 GB, free: 448 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.897e-05/0.1606, allocations: 69.06 kB / 0.6356 GB, free: 360 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.1607, allocations: 77.11 kB / 0.6357 GB, free: 264 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-06/0.1607, allocations: 4.031 kB / 0.6357 GB, free: 260 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.1607, allocations: 8 kB / 0.6357 GB, free: 252 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.1607, allocations: 3.938 kB / 0.6357 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1607, allocations: 4 kB / 0.6357 GB, free: 244 kB / 478.1 MB Notification: Performance of sorting global known variables: time 3.083e-05/0.1608, allocations: 79.27 kB / 0.6358 GB, free: 164 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1608, allocations: 0 / 0.6358 GB, free: 164 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001941/0.161, allocations: 12 kB / 0.6358 GB, free: 152 kB / 478.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.0003924/0.1614, allocations: 0.6124 MB / 0.6364 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.3e-05/0.1615, allocations: 15.98 kB / 0.6364 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1615, allocations: 3.938 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.1615, allocations: 4 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.1617, allocations: 4 kB / 0.6364 GB, free: 15.48 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.1626, allocations: 1.095 MB / 0.6375 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1629, allocations: 0.6768 MB / 0.6381 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.595e-05/0.1629, allocations: 4 kB / 0.6381 GB, free: 13.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.1629, allocations: 11.44 kB / 0.6381 GB, free: 13.58 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1629, allocations: 0 / 0.6381 GB, free: 13.58 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.1798, allocations: 1.44 MB / 0.6395 GB, free: 12.23 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/7.66, allocations: 7.5 kB / 0.6395 GB, free: 12.22 MB / 494.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)