Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.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.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Airflow.Multizone.Examples.PowerLaw,fileNamePrefix="IBPSA_latest_IBPSA_Airflow_Multizone_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.001071/0.001071, allocations: 97.52 kB / 15.69 MB, free: 488 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.0008966/0.0008965, allocations: 178.3 kB / 16.57 MB, free: 6.477 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.438/1.438, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8372/0.8372, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005061, allocations: 12.69 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.201, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5131/0.7142, allocations: 159.8 MB / 0.7128 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005928/0.7202, allocations: 4.075 MB / 0.7167 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007366/0.721, allocations: 19.88 kB / 0.7168 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.7221, allocations: 414.1 kB / 0.7171 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.7255, allocations: 1.476 MB / 0.7186 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.7271, allocations: 0.6313 MB / 0.7192 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.7285, allocations: 1.006 MB / 0.7202 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009523/0.7294, allocations: 0.8192 MB / 0.721 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.731, allocations: 0.9583 MB / 0.7219 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007207/0.7317, allocations: 0.6621 MB / 0.7226 GB, free: 240 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.7318, allocations: 72 kB / 0.7226 GB, free: 168 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.7333, allocations: 0.6748 MB / 0.7233 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002644/0.7335, allocations: 303.2 kB / 0.7236 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.7337, allocations: 185.3 kB / 0.7238 GB, free: 15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.7347, allocations: 1.027 MB / 0.7248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.7348, allocations: 0 / 0.7248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7348, allocations: 0 / 0.7248 GB, free: 13.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.7348, allocations: 3.938 kB / 0.7248 GB, free: 13.98 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002279/0.7371, allocations: 1.173 MB / 0.7259 GB, free: 12.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.7371, allocations: 8.031 kB / 0.7259 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001179/0.7372, allocations: 94.5 kB / 0.726 GB, free: 12.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.7387, allocations: 258.6 kB / 0.7263 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.7395, allocations: 0.557 MB / 0.7268 GB, free: 11.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.7395, allocations: 40.98 kB / 0.7268 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.7397, allocations: 48 kB / 0.7269 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.7409, allocations: 0.9608 MB / 0.7278 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.741, allocations: 4 kB / 0.7278 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.29e-05/0.741, allocations: 20 kB / 0.7278 GB, free: 10.65 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.7411, allocations: 31.98 kB / 0.7279 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.7424, allocations: 0.9445 MB / 0.7288 GB, free: 9.672 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00465/0.7471, allocations: 4.184 MB / 0.7329 GB, free: 5.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000987/0.7481, allocations: 0.6073 MB / 0.7335 GB, free: 4.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007474/0.7489, allocations: 0.7199 MB / 0.7342 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.7489, allocations: 39 kB / 0.7342 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001347/0.7502, allocations: 363 kB / 0.7346 GB, free: 3.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=50): time 2.575e-06/0.7503, allocations: 0 / 0.7346 GB, free: 3.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=50): time 0.01586/0.7661, allocations: 3.678 MB / 0.7382 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.7662, allocations: 59.84 kB / 0.7382 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009365/0.7671, allocations: 0.7076 MB / 0.7389 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.7673, allocations: 33.7 kB / 0.7389 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002421/0.7675, allocations: 324.6 kB / 0.7393 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.7677, allocations: 173.5 kB / 0.7394 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.713e-05/0.7678, allocations: 8 kB / 0.7394 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.7679, allocations: 330 kB / 0.7397 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006006/0.7685, allocations: 400.8 kB / 0.7401 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.7691, allocations: 489.5 kB / 0.7406 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.7698, allocations: 448.6 kB / 0.741 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.7698, allocations: 4.031 kB / 0.741 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01028/0.7801, allocations: 2.478 MB / 0.7434 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7801, allocations: 7.984 kB / 0.7434 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.7801, allocations: 4 kB / 0.7435 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00868/0.7888, allocations: 1.542 MB / 0.745 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.7894, allocations: 103.8 kB / 0.7451 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.8003, allocations: 6.688 MB / 0.7516 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008774/0.8012, allocations: 35.88 kB / 0.7516 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.8013, allocations: 51.88 kB / 0.7517 GB, free: 1.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 4,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003372/0.8017, allocations: 209.7 kB / 0.7519 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.8018, allocations: 79.25 kB / 0.7519 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.8065, allocations: 1.679 MB / 0.7536 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.8065, allocations: 4 kB / 0.7536 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8065, allocations: 4 kB / 0.7536 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.8065, allocations: 3.984 kB / 0.7536 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005407/0.812, allocations: 2.481 MB / 0.756 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.812, allocations: 4 kB / 0.756 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004056/0.8124, allocations: 87.83 kB / 0.7561 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003064/0.8155, allocations: 0.6695 MB / 0.7568 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.8155, allocations: 12 kB / 0.7568 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005972/0.8215, allocations: 4.5 MB / 0.7612 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8215, allocations: 4 kB / 0.7612 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.8265, allocations: 2.153 MB / 0.7633 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005773/0.8271, allocations: 239.9 kB / 0.7635 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.8273, allocations: 12 kB / 0.7635 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000568/0.8278, allocations: 35.88 kB / 0.7635 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.828, allocations: 56.44 kB / 0.7636 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.828, allocations: 16 kB / 0.7636 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005855/0.8286, allocations: 0.4912 MB / 0.7641 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8286, allocations: 0 / 0.7641 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000917/0.8296, allocations: 283.8 kB / 0.7644 GB, free: 4.02 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc) * 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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,92.0%) 3,(4,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005355/0.8349, allocations: 3.244 MB / 0.7675 GB, free: 0.7109 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.8378, allocations: 1.386 MB / 0.7689 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.8378, allocations: 0 / 0.7689 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/0.8395, allocations: 0.8873 MB / 0.7698 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.8415, allocations: 434.8 kB / 0.7702 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/0.8582, allocations: 8.164 MB / 0.7781 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.8587, allocations: 1.002 MB / 0.7791 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006942/0.8594, allocations: 166.6 kB / 0.7793 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.8598, allocations: 291.3 kB / 0.7796 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of SimCode: time 7.62e-07/0.8598, allocations: 0 / 0.7796 GB, free: 4.227 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04274/0.9026, allocations: 28.04 MB / 0.8069 GB, free: 8.578 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.9027, allocations: 236.2 kB / 0.8072 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.415, allocations: 0 / 0.8072 GB, free: 8.332 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Airflow_Multizone_Examples_PowerLaw.fmu > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) Environment - environmentSimulation: