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.001288/0.001288, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 208.3 kB / 16.79 MB, free: 6.84 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.186/1.186, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6112/0.6112, allocations: 115.3 MB / 406 MB, free: 2.773 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 61.84 kB / 493 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1143, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002102/0.1164, allocations: 1.341 MB / 0.5572 GB, free: 9.371 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004996/0.1169, allocations: 322.9 kB / 0.5575 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.599e-05/0.117, allocations: 4 kB / 0.5575 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.117, allocations: 0 / 0.5575 GB, free: 9.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.619e-05/0.1171, allocations: 7.922 kB / 0.5575 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002074/0.1173, allocations: 51.86 kB / 0.5575 GB, free: 8.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.911e-05/0.1174, allocations: 39.86 kB / 0.5576 GB, free: 8.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1174, allocations: 3.984 kB / 0.5576 GB, free: 8.949 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.1175, allocations: 27.86 kB / 0.5576 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.1175, allocations: 15.92 kB / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.053e-05/0.1176, allocations: 0 / 0.5576 GB, free: 8.906 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1177, allocations: 87.84 kB / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1177, allocations: 0 / 0.5577 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.447e-05/0.1178, allocations: 15.94 kB / 0.5577 GB, free: 8.805 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1179, allocations: 76.06 kB / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1179, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1179, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1179, allocations: 0 / 0.5578 GB, free: 8.73 MB / 430.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.0003178/0.1182, allocations: 361.3 kB / 0.5581 GB, free: 8.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.1183, allocations: 8.031 kB / 0.5581 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1183, allocations: 34.75 kB / 0.5582 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.297e-05/0.1184, allocations: 4.844 kB / 0.5582 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.957e-05/0.1184, allocations: 176.3 kB / 0.5583 GB, free: 8.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.1185, allocations: 4.375 kB / 0.5583 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.1185, allocations: 384 / 0.5583 GB, free: 8.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.206e-05/0.1186, allocations: 41.62 kB / 0.5584 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.571e-06/0.1186, allocations: 0 / 0.5584 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.1186, allocations: 0 / 0.5584 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1186, allocations: 0 / 0.5584 GB, free: 8.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.325e-05/0.1186, allocations: 11.98 kB / 0.5584 GB, free: 8.004 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001351/0.1188, allocations: 165.6 kB / 0.5586 GB, free: 7.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.1189, allocations: 38.52 kB / 0.5586 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.032e-05/0.1189, allocations: 12.91 kB / 0.5586 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009634/0.1199, allocations: 1.183 MB / 0.5598 GB, free: 6.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.221e-05/0.1199, allocations: 42.56 kB / 0.5598 GB, free: 6.238 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.1199, allocations: 0 / 0.5598 GB, free: 6.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001263/0.12, allocations: 45.69 kB / 0.5598 GB, free: 6.188 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.1201, allocations: 59.34 kB / 0.5599 GB, free: 6.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.008e-05/0.1201, allocations: 105.8 kB / 0.56 GB, free: 6.004 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.1201, allocations: 25.7 kB / 0.56 GB, free: 5.973 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.148e-05/0.1202, allocations: 80.14 kB / 0.5601 GB, free: 5.891 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1202, allocations: 15.84 kB / 0.5601 GB, free: 5.875 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1202, allocations: 21.62 kB / 0.5601 GB, free: 5.848 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.1203, allocations: 314.8 kB / 0.5604 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.1204, allocations: 8 kB / 0.5604 GB, free: 5.523 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.1204, allocations: 0 / 0.5604 GB, free: 5.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.228e-05/0.1204, allocations: 16.86 kB / 0.5605 GB, free: 5.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1204, allocations: 0 / 0.5605 GB, free: 5.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.552e-05/0.1205, allocations: 49.56 kB / 0.5605 GB, free: 5.449 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.1205, allocations: 8 kB / 0.5605 GB, free: 5.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.1205, allocations: 4 kB / 0.5605 GB, free: 5.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1205, allocations: 7.938 kB / 0.5605 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.531e-05/0.1206, allocations: 4 kB / 0.5605 GB, free: 5.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.1206, allocations: 3.938 kB / 0.5605 GB, free: 5.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.1206, allocations: 4 kB / 0.5605 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.1206, allocations: 7.984 kB / 0.5605 GB, free: 5.41 MB / 430.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 5.521e-05/0.1207, allocations: 105.8 kB / 0.5606 GB, free: 5.297 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.1207, allocations: 8.266 kB / 0.5607 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/0.1208, allocations: 61.58 kB / 0.5607 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1208, allocations: 0 / 0.5607 GB, free: 5.219 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1208, allocations: 4 kB / 0.5607 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1208, allocations: 3.938 kB / 0.5607 GB, free: 5.211 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.1209, allocations: 157.6 kB / 0.5609 GB, free: 5.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.121, allocations: 7.922 kB / 0.5609 GB, free: 5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.507e-05/0.121, allocations: 4 kB / 0.5609 GB, free: 4.996 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.121, allocations: 4 kB / 0.5609 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.121, allocations: 0 / 0.5609 GB, free: 4.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.121, allocations: 4 kB / 0.5609 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.121, allocations: 0 / 0.5609 GB, free: 4.988 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.22e-05/0.1211, allocations: 69.12 kB / 0.561 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.1211, allocations: 89.03 kB / 0.561 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.008e-05/0.1212, allocations: 0 / 0.561 GB, free: 4.797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.567e-05/0.1212, allocations: 4 kB / 0.561 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.006e-05/0.1212, allocations: 0 / 0.561 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.1212, allocations: 4 kB / 0.561 GB, free: 4.789 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.237e-05/0.1213, allocations: 91.58 kB / 0.5611 GB, free: 4.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.004e-06/0.1213, allocations: 0 / 0.5611 GB, free: 4.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1215, allocations: 31.88 kB / 0.5612 GB, free: 4.668 MB / 430.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.0003658/0.1219, allocations: 0.6358 MB / 0.5618 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.664e-05/0.1219, allocations: 15.98 kB / 0.5618 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1219, allocations: 0 / 0.5618 GB, free: 3.988 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.599e-05/0.122, allocations: 15.94 kB / 0.5618 GB, free: 3.973 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.1221, allocations: 4 kB / 0.5618 GB, free: 3.969 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.1225, allocations: 165.4 kB / 0.562 GB, free: 3.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.1227, allocations: 0.6809 MB / 0.5626 GB, free: 3.059 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.727e-05/0.1227, allocations: 12.22 kB / 0.5627 GB, free: 3.047 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.1227, allocations: 11.44 kB / 0.5627 GB, free: 3.035 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1228, allocations: 0 / 0.5627 GB, free: 3.035 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/0.2827, allocations: 1.478 MB / 0.5641 GB, free: 1.668 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/0.283, allocations: 214.9 kB / 0.5643 GB, free: 1.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/1.892, allocations: 0 / 0.5643 GB, free: 1.414 MB / 430.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)