Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM",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.001433/0.001433, allocations: 106.6 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.001576/0.001576, 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.305/1.305, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7075/0.7075, allocations: 115.3 MB / 406.5 MB, free: 6.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 71.48 kB / 0.5572 GB, free: 32.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1457, allocations: 76.18 MB / 0.6316 GB, free: 4.855 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002425/0.1482, allocations: 1.282 MB / 0.6328 GB, free: 3.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005602/0.1487, allocations: 303.2 kB / 0.6331 GB, free: 3.266 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/0.1488, allocations: 4 kB / 0.6331 GB, free: 3.262 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.1488, allocations: 3.938 kB / 0.6331 GB, free: 3.258 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.149, allocations: 7.922 kB / 0.6331 GB, free: 3.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003529/0.1493, allocations: 83.7 kB / 0.6332 GB, free: 3.168 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 9.225e-05/0.1494, allocations: 31.92 kB / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.1495, allocations: 0 / 0.6333 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.1496, allocations: 39.84 kB / 0.6333 GB, free: 3.098 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.1497, allocations: 15.92 kB / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1497, allocations: 0 / 0.6333 GB, free: 3.082 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.1499, allocations: 79.91 kB / 0.6334 GB, free: 3.004 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 1.545e-05/0.1499, allocations: 4 kB / 0.6334 GB, free: 3 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/0.1499, allocations: 15.86 kB / 0.6334 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.1501, allocations: 82.66 kB / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1501, allocations: 0 / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1501, allocations: 0 / 0.6335 GB, free: 2.906 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.1502, allocations: 0 / 0.6335 GB, free: 2.906 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004384/0.1506, allocations: 352.3 kB / 0.6338 GB, free: 2.516 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.1506, allocations: 12.03 kB / 0.6338 GB, free: 2.504 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.586e-05/0.1507, allocations: 34.73 kB / 0.6339 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.256e-05/0.1507, allocations: 4.844 kB / 0.6339 GB, free: 2.457 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.1509, allocations: 164.4 kB / 0.634 GB, free: 2.258 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.1509, allocations: 4.375 kB / 0.634 GB, free: 2.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.1509, allocations: 4.125 kB / 0.634 GB, free: 2.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.151, allocations: 45.62 kB / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.151, allocations: 0 / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.151, allocations: 0 / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.151, allocations: 0 / 0.6341 GB, free: 2.199 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.226e-05/0.1511, allocations: 8 kB / 0.6341 GB, free: 2.191 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001743/0.1513, allocations: 173.5 kB / 0.6342 GB, free: 1.973 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.1514, allocations: 34.58 kB / 0.6343 GB, free: 1.93 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.464e-05/0.1514, allocations: 12.86 kB / 0.6343 GB, free: 1.914 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.1525, allocations: 1.187 MB / 0.6355 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1525, allocations: 34.56 kB / 0.6355 GB, free: 436 kB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1525, allocations: 0 / 0.6355 GB, free: 436 kB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002307/0.1528, allocations: 49.69 kB / 0.6355 GB, free: 380 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.1528, allocations: 51.41 kB / 0.6356 GB, free: 316 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.377e-05/0.1529, allocations: 105.8 kB / 0.6357 GB, free: 200 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.1529, allocations: 29.7 kB / 0.6357 GB, free: 164 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.946e-05/0.1529, allocations: 80.14 kB / 0.6358 GB, free: 80 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.153, allocations: 11.89 kB / 0.6358 GB, free: 68 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.153, allocations: 21.62 kB / 0.6358 GB, free: 40 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1531, allocations: 314.8 kB / 0.6361 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.926e-05/0.1532, allocations: 7.938 kB / 0.6361 GB, free: 15.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.446e-05/0.1532, allocations: 8 kB / 0.6361 GB, free: 15.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.253e-05/0.1532, allocations: 24.78 kB / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1532, allocations: 0 / 0.6362 GB, free: 15.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.47e-05/0.1533, allocations: 49.95 kB / 0.6362 GB, free: 15.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.1533, allocations: 4 kB / 0.6362 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1533, allocations: 0 / 0.6362 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.1534, allocations: 4 kB / 0.6362 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.1534, allocations: 4 kB / 0.6362 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1534, allocations: 0 / 0.6362 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.039e-05/0.1534, allocations: 4 kB / 0.6362 GB, free: 15.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1535, allocations: 3.938 kB / 0.6362 GB, free: 15.61 MB / 494.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 (3): * Single equations (assignments): 3 * 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.847e-05/0.1535, allocations: 109.8 kB / 0.6363 GB, free: 15.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.1535, allocations: 11.92 kB / 0.6363 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1537, allocations: 61.58 kB / 0.6364 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1537, allocations: 0 / 0.6364 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1537, allocations: 0 / 0.6364 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1537, allocations: 0 / 0.6364 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1538, allocations: 161.5 kB / 0.6366 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1538, allocations: 4 kB / 0.6366 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.829e-05/0.1539, allocations: 4 kB / 0.6366 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.1539, allocations: 0 / 0.6366 GB, free: 15.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.1539, allocations: 4 kB / 0.6366 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1539, allocations: 0 / 0.6366 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.1539, allocations: 11.92 kB / 0.6366 GB, free: 15.17 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.692e-05/0.154, allocations: 73.06 kB / 0.6366 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.1541, allocations: 81.11 kB / 0.6367 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.1541, allocations: 0 / 0.6367 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.737e-05/0.1541, allocations: 3.938 kB / 0.6367 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.1541, allocations: 3.984 kB / 0.6367 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.1542, allocations: 8 kB / 0.6367 GB, free: 14.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.068e-05/0.1542, allocations: 87.58 kB / 0.6368 GB, free: 14.88 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1542, allocations: 0 / 0.6368 GB, free: 14.88 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1544, allocations: 35.92 kB / 0.6369 GB, free: 14.85 MB / 494.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 (3): * Single equations (assignments): 3 * 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.0004214/0.1549, allocations: 0.6357 MB / 0.6375 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.155, allocations: 16 kB / 0.6375 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.155, allocations: 7.938 kB / 0.6375 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.654e-05/0.155, allocations: 7.984 kB / 0.6375 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.1552, allocations: 8 kB / 0.6375 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.1556, allocations: 167.7 kB / 0.6377 GB, free: 13.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1559, allocations: 0.6768 MB / 0.6383 GB, free: 13.23 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.129e-05/0.1559, allocations: 12 kB / 0.6383 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.156, allocations: 15.38 kB / 0.6384 GB, free: 13.21 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.156, allocations: 0 / 0.6384 GB, free: 13.21 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.1727, allocations: 1.626 MB / 0.6399 GB, free: 11.68 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/7.897, allocations: 16.58 kB / 0.64 GB, free: 11.67 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)