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.001097/0.001097, allocations: 111.3 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.001132/0.001132, 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.235/1.235, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7082/0.7082, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 68.69 kB / 0.568 GB, free: 28.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1223, allocations: 77.92 MB / 0.644 GB, free: 9.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002215/0.1245, allocations: 1.245 MB / 0.6453 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.1249, allocations: 123.8 kB / 0.6454 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.852e-05/0.1249, allocations: 0 / 0.6454 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1249, allocations: 0 / 0.6454 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.991e-05/0.125, allocations: 15.92 kB / 0.6454 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.1252, allocations: 35.89 kB / 0.6454 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.68e-05/0.1253, allocations: 11.94 kB / 0.6454 GB, free: 8.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1253, allocations: 11.98 kB / 0.6455 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.08e-05/0.1253, allocations: 3.938 kB / 0.6455 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.1254, allocations: 7.984 kB / 0.6455 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.065e-05/0.1254, allocations: 0 / 0.6455 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1255, allocations: 55.94 kB / 0.6455 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1256, allocations: 0 / 0.6455 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1256, allocations: 7.938 kB / 0.6455 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1257, allocations: 36.17 kB / 0.6456 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1257, allocations: 0 / 0.6456 GB, free: 8.02 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1257, allocations: 3.938 kB / 0.6456 GB, free: 8.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.1257, allocations: 0 / 0.6456 GB, free: 8.016 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.0003489/0.1261, allocations: 335.4 kB / 0.6459 GB, free: 7.641 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1261, allocations: 16.56 kB / 0.6459 GB, free: 7.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.802e-05/0.1262, allocations: 34.73 kB / 0.6459 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.1262, allocations: 4.938 kB / 0.6459 GB, free: 7.578 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.1263, allocations: 176.2 kB / 0.6461 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.1263, allocations: 384 / 0.6461 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.1264, allocations: 8.125 kB / 0.6461 GB, free: 7.359 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.854e-05/0.1264, allocations: 29.7 kB / 0.6461 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1264, allocations: 0 / 0.6461 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-06/0.1265, allocations: 0 / 0.6461 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1265, allocations: 0 / 0.6461 GB, free: 7.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.1265, allocations: 11.92 kB / 0.6462 GB, free: 7.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.1266, allocations: 153.7 kB / 0.6463 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.791e-05/0.1267, allocations: 22.56 kB / 0.6463 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.1267, allocations: 16.86 kB / 0.6463 GB, free: 7.062 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006256/0.1274, allocations: 0.5974 MB / 0.6469 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.1274, allocations: 34.56 kB / 0.647 GB, free: 6.293 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1274, allocations: 4 kB / 0.647 GB, free: 6.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000132/0.1275, allocations: 49.58 kB / 0.647 GB, free: 6.234 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1276, allocations: 51.41 kB / 0.6471 GB, free: 6.172 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.1276, allocations: 93.86 kB / 0.6471 GB, free: 6.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.1277, allocations: 29.7 kB / 0.6472 GB, free: 6.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.1277, allocations: 88.12 kB / 0.6473 GB, free: 5.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1277, allocations: 3.953 kB / 0.6473 GB, free: 5.941 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.1278, allocations: 13.72 kB / 0.6473 GB, free: 5.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.1278, allocations: 319 kB / 0.6476 GB, free: 5.602 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1279, allocations: 0 / 0.6476 GB, free: 5.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/0.1279, allocations: 4 kB / 0.6476 GB, free: 5.598 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/0.1279, allocations: 12.84 kB / 0.6476 GB, free: 5.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.1279, allocations: 0 / 0.6476 GB, free: 5.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.114e-05/0.128, allocations: 45.58 kB / 0.6476 GB, free: 5.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.128, allocations: 9.719 kB / 0.6476 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.128, allocations: 0 / 0.6476 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.128, allocations: 4.094 kB / 0.6477 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.1281, allocations: 8 kB / 0.6477 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1281, allocations: 0 / 0.6477 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.1281, allocations: 0 / 0.6477 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-06/0.1281, allocations: 0 / 0.6477 GB, free: 5.512 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 (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.495e-05/0.1282, allocations: 113.8 kB / 0.6478 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.1282, allocations: 11.88 kB / 0.6478 GB, free: 5.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.469e-05/0.1283, allocations: 44.77 kB / 0.6478 GB, free: 5.328 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1283, allocations: 8.016 kB / 0.6478 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1283, allocations: 0 / 0.6478 GB, free: 5.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1283, allocations: 3.938 kB / 0.6478 GB, free: 5.316 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.724e-05/0.1284, allocations: 149.6 kB / 0.648 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1284, allocations: 0 / 0.648 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.1285, allocations: 7.984 kB / 0.648 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1285, allocations: 0 / 0.648 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-06/0.1285, allocations: 192 / 0.648 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1285, allocations: 0 / 0.648 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1285, allocations: 4 kB / 0.648 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.079e-05/0.1286, allocations: 69.06 kB / 0.6481 GB, free: 5.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.401e-05/0.1286, allocations: 85.05 kB / 0.6481 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.012e-05/0.1286, allocations: 0 / 0.6481 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.938e-05/0.1287, allocations: 8 kB / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.005e-05/0.1287, allocations: 0 / 0.6481 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.1287, allocations: 3.938 kB / 0.6481 GB, free: 4.91 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.924e-05/0.1287, allocations: 79.28 kB / 0.6482 GB, free: 4.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1287, allocations: 0 / 0.6482 GB, free: 4.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000195/0.1289, allocations: 19.97 kB / 0.6482 GB, free: 4.812 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 (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.000333/0.1292, allocations: 0.6124 MB / 0.6488 GB, free: 4.168 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.062e-05/0.1293, allocations: 8 kB / 0.6488 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1293, allocations: 0 / 0.6488 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.016e-05/0.1294, allocations: 12.03 kB / 0.6489 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.1296, allocations: 9.703 kB / 0.6489 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007863/0.1304, allocations: 1.091 MB / 0.6499 GB, free: 2.969 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.1306, allocations: 0.6729 MB / 0.6506 GB, free: 2.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.477e-05/0.1306, allocations: 3.984 kB / 0.6506 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.152e-05/0.1306, allocations: 15.44 kB / 0.6506 GB, free: 2.25 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1307, allocations: 4 kB / 0.6506 GB, free: 2.246 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.1468, allocations: 1.425 MB / 0.652 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/6.997, allocations: 15.28 kB / 0.652 GB, free: 0.8984 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 & 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)