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.0008318/0.0008318, allocations: 92.16 kB / 15.71 MB, free: 452 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.0009058/0.0009059, allocations: 177.5 kB / 16.58 MB, free: 6.859 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.316/1.316, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6848/0.6848, allocations: 113.7 MB / 405.4 MB, free: 4.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003441, allocations: 12.81 kB / 493.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1687, allocations: 77.11 MB / 0.5569 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5065/0.6752, allocations: 175.3 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007562/0.6828, allocations: 3.783 MB / 0.7318 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.6844, allocations: 19.88 kB / 0.7318 GB, free: 7.742 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.686, allocations: 306 kB / 0.7321 GB, free: 7.441 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.6905, allocations: 1.139 MB / 0.7332 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003966/0.6945, allocations: 0.9756 MB / 0.7341 GB, free: 5.328 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003934/0.6985, allocations: 1.982 MB / 0.7361 GB, free: 3.34 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.7004, allocations: 0.8269 MB / 0.7369 GB, free: 2.5 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00283/0.7033, allocations: 0.8486 MB / 0.7377 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.7055, allocations: 0.8255 MB / 0.7385 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003358/0.7058, allocations: 72 kB / 0.7386 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00309/0.7089, allocations: 0.7171 MB / 0.7393 GB, free: 32 kB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006914/0.7097, allocations: 323 kB / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.7104, allocations: 189.3 kB / 0.7398 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002678/0.713, allocations: 1.072 MB / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7131, allocations: 0 / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.936e-06/0.7131, allocations: 0 / 0.7408 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.7131, allocations: 0 / 0.7408 GB, free: 14.45 MB / 0.5606 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.003268/0.7164, allocations: 1.185 MB / 0.742 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.7165, allocations: 8.031 kB / 0.742 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002469/0.7168, allocations: 98.5 kB / 0.7421 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.7185, allocations: 238.7 kB / 0.7423 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.7198, allocations: 0.5725 MB / 0.7429 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.7198, allocations: 41.81 kB / 0.7429 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.72, allocations: 48 kB / 0.7429 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.7217, allocations: 0.9648 MB / 0.7439 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.7217, allocations: 4 kB / 0.7439 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.7218, allocations: 19.94 kB / 0.7439 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.7219, allocations: 31.98 kB / 0.7439 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001642/0.7235, allocations: 0.9407 MB / 0.7449 GB, free: 10.13 MB / 0.5606 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.00643/0.73, allocations: 4.192 MB / 0.749 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.731, allocations: 0.5969 MB / 0.7495 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008453/0.7319, allocations: 0.5214 MB / 0.75 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.7331, allocations: 0.89 MB / 0.7509 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/0.7332, allocations: 44.75 kB / 0.751 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001701/0.7349, allocations: 355.3 kB / 0.7513 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=50): time 5.28e-06/0.7349, allocations: 0 / 0.7513 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of matching and sorting (n=50): time 0.01615/0.7511, allocations: 3.689 MB / 0.7549 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.7512, allocations: 63.8 kB / 0.755 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.7524, allocations: 0.7076 MB / 0.7557 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.7526, allocations: 37.7 kB / 0.7557 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.7529, allocations: 316.7 kB / 0.756 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/0.7532, allocations: 173.4 kB / 0.7562 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.629e-05/0.7533, allocations: 15.94 kB / 0.7562 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7534, allocations: 326 kB / 0.7565 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.7542, allocations: 396.9 kB / 0.7569 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.7549, allocations: 489.5 kB / 0.7573 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008141/0.7557, allocations: 452.7 kB / 0.7578 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7558, allocations: 0 / 0.7578 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00975/0.7655, allocations: 2.482 MB / 0.7602 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.7656, allocations: 8.125 kB / 0.7602 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.7656, allocations: 4 kB / 0.7602 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007841/0.7735, allocations: 1.538 MB / 0.7617 GB, free: 8.375 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005269/0.774, allocations: 95.88 kB / 0.7618 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.7855, allocations: 6.528 MB / 0.7682 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009754/0.7865, allocations: 47.83 kB / 0.7682 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.056e-05/0.7866, allocations: 47.92 kB / 0.7683 GB, free: 1.379 MB / 0.5762 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.0003913/0.787, allocations: 205.8 kB / 0.7684 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.7871, allocations: 83.25 kB / 0.7685 GB, free: 1.086 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.7919, allocations: 1.671 MB / 0.7702 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.7919, allocations: 4 kB / 0.7702 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.792, allocations: 4 kB / 0.7702 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.792, allocations: 7.984 kB / 0.7702 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005588/0.7976, allocations: 2.485 MB / 0.7726 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/0.7976, allocations: 4 kB / 0.7726 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.7981, allocations: 91.83 kB / 0.7727 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00286/0.8009, allocations: 0.6653 MB / 0.7733 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.801, allocations: 19.94 kB / 0.7734 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006258/0.8073, allocations: 4.4 MB / 0.7777 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8073, allocations: 0 / 0.7777 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005021/0.8124, allocations: 2.093 MB / 0.7797 GB, free: 5.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005725/0.813, allocations: 231.9 kB / 0.7799 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.8131, allocations: 12 kB / 0.7799 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.8137, allocations: 31.89 kB / 0.78 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.8139, allocations: 60.42 kB / 0.78 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.8139, allocations: 20 kB / 0.78 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007276/0.8147, allocations: 499 kB / 0.7805 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8147, allocations: 0 / 0.7805 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001212/0.8159, allocations: 287.8 kB / 0.7808 GB, free: 4.098 MB / 0.5919 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.005903/0.8218, allocations: 2.752 MB / 0.7835 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.825, allocations: 1.382 MB / 0.7848 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.825, allocations: 0 / 0.7848 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001777/0.8268, allocations: 0.8952 MB / 0.7857 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002065/0.8289, allocations: 459.3 kB / 0.7861 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/0.8455, allocations: 7.002 MB / 0.793 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.8462, allocations: 0.9789 MB / 0.7939 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007565/0.8469, allocations: 166.6 kB / 0.7941 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/0.8474, allocations: 283.3 kB / 0.7944 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of SimCode: time 8.42e-07/0.8474, allocations: 0 / 0.7944 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3293/1.177, allocations: 28.06 MB / 0.8218 GB, free: 216.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/1.177, allocations: 234.4 kB / 0.822 GB, free: 216.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.662, allocations: 0 / 0.822 GB, free: 216.7 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: