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: translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.001258/0.001258, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7008/0.7008, allocations: 115.3 MB / 406.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 59.91 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3411, allocations: 76.17 MB / 0.5564 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.002119/0.3432, allocations: 1.345 MB / 0.5577 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004991/0.3437, allocations: 316.1 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.3438, allocations: 0.6562 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.811e-05/0.3438, allocations: 0 / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.383e-05/0.3439, allocations: 15.44 kB / 0.558 GB, free: 35.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3441, allocations: 61.94 kB / 0.5581 GB, free: 35.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.3442, allocations: 40.12 kB / 0.5581 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.3442, allocations: 1.25 kB / 0.5581 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.3443, allocations: 26.78 kB / 0.5581 GB, free: 35.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.3444, allocations: 17.98 kB / 0.5581 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3444, allocations: 1.156 kB / 0.5581 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.3445, allocations: 77.48 kB / 0.5582 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3446, allocations: 5.609 kB / 0.5582 GB, free: 35.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.3446, allocations: 14 kB / 0.5582 GB, free: 35.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.3447, allocations: 48.88 kB / 0.5583 GB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3447, allocations: 0 / 0.5583 GB, free: 35.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3447, allocations: 3.938 kB / 0.5583 GB, free: 35.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3447, allocations: 0 / 0.5583 GB, free: 35.06 MB / 446.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.0003044/0.345, allocations: 352.5 kB / 0.5586 GB, free: 34.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3451, allocations: 12.88 kB / 0.5586 GB, free: 34.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3451, allocations: 11.91 kB / 0.5586 GB, free: 34.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/0.3452, allocations: 172.1 kB / 0.5588 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.3452, allocations: 384 / 0.5588 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.3452, allocations: 4.594 kB / 0.5588 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.197e-05/0.3453, allocations: 41.75 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.3454, allocations: 0.5625 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.3454, allocations: 1.422 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.3454, allocations: 1.438 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.3454, allocations: 8.719 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001131/0.3455, allocations: 164.6 kB / 0.559 GB, free: 34.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.3456, allocations: 33.69 kB / 0.5591 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.3457, allocations: 10.5 kB / 0.5591 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008236/0.3465, allocations: 1.184 MB / 0.5602 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3465, allocations: 36.31 kB / 0.5603 GB, free: 32.84 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3465, allocations: 0.625 kB / 0.5603 GB, free: 32.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001429/0.3467, allocations: 58.22 kB / 0.5603 GB, free: 32.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3467, allocations: 52.34 kB / 0.5604 GB, free: 32.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.579e-05/0.3468, allocations: 110.3 kB / 0.5605 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.3468, allocations: 27.58 kB / 0.5605 GB, free: 32.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.004e-05/0.3468, allocations: 83.27 kB / 0.5606 GB, free: 32.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3468, allocations: 5.188 kB / 0.5606 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.3469, allocations: 19.38 kB / 0.5606 GB, free: 32.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.828e-05/0.3469, allocations: 317.8 kB / 0.5609 GB, free: 32.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.3469, allocations: 3.031 kB / 0.5609 GB, free: 32.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.309e-05/0.347, allocations: 3 kB / 0.5609 GB, free: 32.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.644e-05/0.347, allocations: 17.55 kB / 0.5609 GB, free: 32.17 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.347, allocations: 0 / 0.5609 GB, free: 32.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.746e-05/0.3471, allocations: 58.42 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.3471, allocations: 8.156 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3471, allocations: 2.062 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.3471, allocations: 0 / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.342e-05/0.3472, allocations: 7.438 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.3472, allocations: 0.5938 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3472, allocations: 0.5938 kB / 0.561 GB, free: 32.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.3472, allocations: 5.375 kB / 0.561 GB, free: 32.12 MB / 446.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.145e-05/0.3473, allocations: 113.6 kB / 0.5611 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.3473, allocations: 7.328 kB / 0.5611 GB, free: 32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.3474, allocations: 63.12 kB / 0.5612 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3474, allocations: 3.984 kB / 0.5612 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3475, allocations: 1.625 kB / 0.5612 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3475, allocations: 1.375 kB / 0.5612 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.663e-05/0.3475, allocations: 161.5 kB / 0.5613 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3475, allocations: 0 / 0.5613 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.778e-05/0.3476, allocations: 11.97 kB / 0.5614 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3476, allocations: 2.688 kB / 0.5614 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.3476, allocations: 2.688 kB / 0.5614 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3476, allocations: 0 / 0.5614 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3476, allocations: 0 / 0.5614 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.123e-05/0.3477, allocations: 73.03 kB / 0.5614 GB, free: 31.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.958e-05/0.3477, allocations: 84.97 kB / 0.5615 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3478, allocations: 4.125 kB / 0.5615 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.957e-05/0.3478, allocations: 5.719 kB / 0.5615 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.3478, allocations: 6.375 kB / 0.5615 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.3478, allocations: 1.375 kB / 0.5615 GB, free: 31.57 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.768e-05/0.3479, allocations: 85.88 kB / 0.5616 GB, free: 31.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3479, allocations: 0 / 0.5616 GB, free: 31.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.3481, allocations: 29.75 kB / 0.5616 GB, free: 31.48 MB / 446.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.0001623/0.3482, allocations: 128.6 kB / 0.5618 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.091e-05/0.3483, allocations: 15.02 kB / 0.5618 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3483, allocations: 0 / 0.5618 GB, free: 31.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.728e-05/0.3484, allocations: 13.19 kB / 0.5618 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.3486, allocations: 11.94 kB / 0.5618 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002446/0.3488, allocations: 165.3 kB / 0.562 GB, free: 31.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.663e-05/0.3489, allocations: 0.684 MB / 0.5626 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.855e-05/0.349, allocations: 9.812 kB / 0.5626 GB, free: 30.51 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.349, allocations: 0 / 0.5626 GB, free: 30.51 MB / 446.1 MB Notification: Performance of Templates: time 0.002043/0.351, allocations: 0.7146 MB / 0.5633 GB, free: 30.49 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1)