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.001243/0.001243, allocations: 109.8 kB / 16.41 MB, free: 6.496 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.001191/0.001191, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7781/0.7781, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001806/0.001806, allocations: 73.02 kB / 0.5735 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1326, allocations: 78.86 MB / 0.6505 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00223/0.1349, allocations: 1.247 MB / 0.6518 GB, free: 2.363 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002837/0.1352, allocations: 123.8 kB / 0.6519 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.1352, allocations: 0 / 0.6519 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.1352, allocations: 0 / 0.6519 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.1353, allocations: 7.938 kB / 0.6519 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.1355, allocations: 43.88 kB / 0.6519 GB, free: 2.191 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.068e-05/0.1355, allocations: 11.94 kB / 0.6519 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.1356, allocations: 0 / 0.6519 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.158e-05/0.1356, allocations: 11.94 kB / 0.652 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.954e-05/0.1357, allocations: 7.984 kB / 0.652 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.069e-05/0.1357, allocations: 0 / 0.652 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1358, allocations: 51.94 kB / 0.652 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1358, allocations: 7.984 kB / 0.652 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.118e-05/0.1359, allocations: 7.938 kB / 0.652 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.136, allocations: 32.17 kB / 0.6521 GB, free: 2.062 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.136, allocations: 0 / 0.6521 GB, free: 2.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.136, allocations: 0 / 0.6521 GB, free: 2.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.136, allocations: 0 / 0.6521 GB, free: 2.062 MB / 494.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.0003964/0.1364, allocations: 339.4 kB / 0.6524 GB, free: 1.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1364, allocations: 8.031 kB / 0.6524 GB, free: 1.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.1365, allocations: 30.75 kB / 0.6524 GB, free: 1.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/0.1365, allocations: 20.75 kB / 0.6524 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.1367, allocations: 168.3 kB / 0.6526 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1367, allocations: 384 / 0.6526 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1367, allocations: 4.125 kB / 0.6526 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.1368, allocations: 33.7 kB / 0.6526 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1368, allocations: 0 / 0.6526 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.1368, allocations: 0 / 0.6526 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1368, allocations: 4 kB / 0.6526 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.527e-05/0.1368, allocations: 0 / 0.6526 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.137, allocations: 157.7 kB / 0.6528 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.272e-05/0.1371, allocations: 26.55 kB / 0.6528 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.199e-05/0.1371, allocations: 12.8 kB / 0.6528 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/0.1378, allocations: 0.6052 MB / 0.6534 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.1379, allocations: 30.56 kB / 0.6534 GB, free: 348 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1379, allocations: 0 / 0.6534 GB, free: 348 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001262/0.138, allocations: 49.69 kB / 0.6535 GB, free: 292 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.138, allocations: 55.34 kB / 0.6535 GB, free: 224 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.1381, allocations: 94 kB / 0.6536 GB, free: 120 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.1381, allocations: 25.7 kB / 0.6537 GB, free: 88 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.405e-05/0.1382, allocations: 84.14 kB / 0.6537 GB, free: 0 / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.354e-05/0.1382, allocations: 4.141 kB / 0.6537 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1383, allocations: 17.7 kB / 0.6538 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1384, allocations: 319 kB / 0.6541 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.312e-05/0.1384, allocations: 4 kB / 0.6541 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/0.1384, allocations: 0 / 0.6541 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.022e-05/0.1385, allocations: 12.86 kB / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1385, allocations: 0 / 0.6541 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.354e-05/0.1385, allocations: 49.39 kB / 0.6541 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1386, allocations: 7.938 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1386, allocations: 48 / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.1386, allocations: 3.984 kB / 0.6541 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.214e-05/0.1386, allocations: 8.094 kB / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.1386, allocations: 0 / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.599e-05/0.1387, allocations: 0 / 0.6541 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1387, allocations: 4 kB / 0.6542 GB, free: 15.55 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.1388, allocations: 113.7 kB / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.732e-06/0.1388, allocations: 0 / 0.6543 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.591e-05/0.1389, allocations: 48.81 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1389, allocations: 4 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.1389, allocations: 4.031 kB / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1389, allocations: 0 / 0.6543 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.139, allocations: 161.6 kB / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.139, allocations: 3.938 kB / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.239e-05/0.139, allocations: 7.938 kB / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.139, allocations: 0 / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.529e-06/0.1391, allocations: 0 / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1391, allocations: 0 / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1391, allocations: 0 / 0.6545 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.528e-05/0.1391, allocations: 69.06 kB / 0.6545 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1392, allocations: 81.11 kB / 0.6546 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-06/0.1392, allocations: 0 / 0.6546 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.512e-05/0.1392, allocations: 0 / 0.6546 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.1393, allocations: 7.984 kB / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1393, allocations: 0 / 0.6546 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.1393, allocations: 79.28 kB / 0.6547 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1393, allocations: 0 / 0.6547 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002017/0.1395, allocations: 15.94 kB / 0.6547 GB, free: 14.87 MB / 0.4981 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 (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.0004288/0.1399, allocations: 0.624 MB / 0.6553 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.961e-05/0.14, allocations: 12 kB / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.14, allocations: 0 / 0.6553 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.1401, allocations: 8.031 kB / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1403, allocations: 9.781 kB / 0.6554 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009457/0.1412, allocations: 1.091 MB / 0.6564 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.1415, allocations: 0.669 MB / 0.6571 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.438e-05/0.1415, allocations: 4 kB / 0.6571 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.1416, allocations: 11.44 kB / 0.6571 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.024e-06/0.1416, allocations: 0 / 0.6571 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02037/0.1619, allocations: 1.439 MB / 0.6585 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.42, allocations: 17.92 kB / 0.6585 GB, free: 10.95 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Airflow_Multizone_BaseClasses_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1)