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.001331/0.001331, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.001298/0.001298, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.324/1.324, allocations: 222.9 MB / 241.1 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.7704/0.7704, allocations: 126.7 MB / 417.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 67.64 kB / 0.5735 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1339, allocations: 78.86 MB / 0.6506 GB, free: 3.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002262/0.1362, allocations: 1.29 MB / 0.6518 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005369/0.1367, allocations: 303.2 kB / 0.6521 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.1368, allocations: 0 / 0.6521 GB, free: 2.059 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.1368, allocations: 3.938 kB / 0.6521 GB, free: 2.055 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.1369, allocations: 15.91 kB / 0.6521 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1372, allocations: 71.72 kB / 0.6522 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.611e-05/0.1373, allocations: 35.91 kB / 0.6522 GB, free: 1.934 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1373, allocations: 4 kB / 0.6522 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.1374, allocations: 27.86 kB / 0.6523 GB, free: 1.902 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.458e-05/0.1375, allocations: 15.92 kB / 0.6523 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1375, allocations: 0 / 0.6523 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001689/0.1377, allocations: 87.91 kB / 0.6524 GB, free: 1.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1377, allocations: 7.984 kB / 0.6524 GB, free: 1.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.1377, allocations: 11.88 kB / 0.6524 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.1379, allocations: 80 kB / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1379, allocations: 0 / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1379, allocations: 0 / 0.6524 GB, free: 1.703 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.1379, allocations: 0 / 0.6524 GB, free: 1.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004031/0.1383, allocations: 355.2 kB / 0.6528 GB, free: 1.309 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.1384, allocations: 8.031 kB / 0.6528 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.1384, allocations: 34.75 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.1384, allocations: 0.9375 kB / 0.6528 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1386, allocations: 180.3 kB / 0.653 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.204e-06/0.1386, allocations: 384 / 0.653 GB, free: 1.043 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.1386, allocations: 8.125 kB / 0.653 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.1387, allocations: 41.62 kB / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1387, allocations: 0 / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1387, allocations: 0 / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1387, allocations: 0 / 0.653 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.87e-05/0.1388, allocations: 12 kB / 0.6531 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.1389, allocations: 153.7 kB / 0.6532 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.927e-05/0.139, allocations: 38.61 kB / 0.6532 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.1391, allocations: 14.72 kB / 0.6533 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.1402, allocations: 1.187 MB / 0.6544 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1403, allocations: 34.5 kB / 0.6544 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1403, allocations: 0 / 0.6544 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0001532/0.1404, allocations: 53.69 kB / 0.6545 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.1405, allocations: 51.41 kB / 0.6545 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.567e-05/0.1406, allocations: 105.8 kB / 0.6546 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.1406, allocations: 25.7 kB / 0.6547 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.713e-05/0.1406, allocations: 84.08 kB / 0.6548 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.1407, allocations: 19.84 kB / 0.6548 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1407, allocations: 21.7 kB / 0.6548 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.1408, allocations: 310.8 kB / 0.6551 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.653e-05/0.1408, allocations: 4 kB / 0.6551 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.1409, allocations: 11.94 kB / 0.6551 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.1409, allocations: 17.11 kB / 0.6551 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1409, allocations: 4 kB / 0.6551 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.757e-05/0.141, allocations: 41.64 kB / 0.6552 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.141, allocations: 8 kB / 0.6552 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.141, allocations: 4 kB / 0.6552 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.141, allocations: 3.984 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.1411, allocations: 4 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.1411, allocations: 0 / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.899e-05/0.1411, allocations: 4 kB / 0.6552 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1411, allocations: 4 kB / 0.6552 GB, free: 14.4 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 (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 7.207e-05/0.1412, allocations: 109.8 kB / 0.6553 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.529e-05/0.1412, allocations: 11.89 kB / 0.6553 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.1414, allocations: 61.58 kB / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1414, allocations: 4 kB / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1414, allocations: 0 / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1414, allocations: 0 / 0.6554 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.1415, allocations: 161.6 kB / 0.6555 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1415, allocations: 4 kB / 0.6555 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.548e-05/0.1416, allocations: 11.94 kB / 0.6555 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1416, allocations: 0 / 0.6555 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.1416, allocations: 4 kB / 0.6555 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1416, allocations: 0 / 0.6555 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1416, allocations: 0 / 0.6555 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.59e-05/0.1417, allocations: 80.95 kB / 0.6556 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.582e-05/0.1418, allocations: 85.09 kB / 0.6557 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.1418, allocations: 4 kB / 0.6557 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.551e-05/0.1418, allocations: 0 / 0.6557 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.1418, allocations: 0 / 0.6557 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.1419, allocations: 8 kB / 0.6557 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.1419, allocations: 87.27 kB / 0.6558 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1419, allocations: 3.938 kB / 0.6558 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002088/0.1421, allocations: 27.88 kB / 0.6558 GB, free: 13.64 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 (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.0004558/0.1426, allocations: 0.6434 MB / 0.6565 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.803e-05/0.1427, allocations: 16 kB / 0.6565 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1427, allocations: 0 / 0.6565 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.616e-05/0.1427, allocations: 8 kB / 0.6565 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001933/0.1429, allocations: 7.984 kB / 0.6565 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.1433, allocations: 160 kB / 0.6566 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.1436, allocations: 0.6807 MB / 0.6573 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.1436, allocations: 8 kB / 0.6573 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1436, allocations: 11.44 kB / 0.6573 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1436, allocations: 4 kB / 0.6573 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02074/0.1644, allocations: 1.628 MB / 0.6589 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.453/7.618, allocations: 11.78 kB / 0.6589 GB, free: 10.48 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_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_PowerLawFixedM.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)