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: translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 96.83 kB / 16.26 MB, free: 5.934 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.002054/0.002054, allocations: 189.6 kB / 17.2 MB, free: 5.574 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.516/1.516, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7335/0.7335, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.89 kB / 0.4911 GB, free: 7.406 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3561, allocations: 77.93 MB / 0.5672 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5541/0.9102, allocations: 192.6 MB / 0.7553 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006028/0.9163, allocations: 4.019 MB / 0.7592 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001017/0.9173, allocations: 20.25 kB / 0.7592 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.9188, allocations: 473.8 kB / 0.7597 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004225/0.923, allocations: 1.533 MB / 0.7612 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00397/0.927, allocations: 1.349 MB / 0.7625 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00348/0.9305, allocations: 1.635 MB / 0.7641 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.932, allocations: 0.9531 MB / 0.765 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.9339, allocations: 0.9171 MB / 0.7659 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.9353, allocations: 0.8498 MB / 0.7668 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.9355, allocations: 97.25 kB / 0.7669 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.9386, allocations: 1.305 MB / 0.7681 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004236/0.9391, allocations: 361.2 kB / 0.7685 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007035/0.9398, allocations: 0.5101 MB / 0.769 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002729/0.9425, allocations: 1.614 MB / 0.7706 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9425, allocations: 0.9062 kB / 0.7706 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9426, allocations: 1.031 kB / 0.7706 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.9426, allocations: 0.9062 kB / 0.7706 GB, free: 1.441 MB / 0.5762 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.003453/0.946, allocations: 1.445 MB / 0.772 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.9461, allocations: 10.38 kB / 0.772 GB, free: 16.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.9477, allocations: 244.6 kB / 0.7722 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009172/0.9486, allocations: 0.5845 MB / 0.7728 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.9487, allocations: 38.02 kB / 0.7728 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.9488, allocations: 54.19 kB / 0.7729 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.9503, allocations: 0.9568 MB / 0.7738 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.9503, allocations: 6 kB / 0.7738 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/0.9504, allocations: 27.48 kB / 0.7738 GB, free: 16.2 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/0.9505, allocations: 36.66 kB / 0.7739 GB, free: 16.19 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9521, allocations: 0.9392 MB / 0.7748 GB, free: 16.19 MB / 0.5919 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.005311/0.9574, allocations: 4.262 MB / 0.7789 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008574/0.9583, allocations: 0.5972 MB / 0.7795 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006793/0.959, allocations: 0.5134 MB / 0.78 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.96, allocations: 0.8756 MB / 0.7809 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/0.9601, allocations: 41.5 kB / 0.7809 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001503/0.9616, allocations: 424.3 kB / 0.7813 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 5.43e-06/0.9616, allocations: 1 kB / 0.7813 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01713/0.9788, allocations: 3.842 MB / 0.7851 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.9788, allocations: 61.66 kB / 0.7851 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.9798, allocations: 0.7097 MB / 0.7858 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.9799, allocations: 36.36 kB / 0.7859 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.9801, allocations: 322.7 kB / 0.7862 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.9803, allocations: 170.2 kB / 0.7863 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000262/0.9806, allocations: 151.2 kB / 0.7865 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.9807, allocations: 326.3 kB / 0.7868 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006229/0.9813, allocations: 397.3 kB / 0.7872 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.982, allocations: 492.6 kB / 0.7876 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.9834, allocations: 0.9165 MB / 0.7885 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.9834, allocations: 0 / 0.7885 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01128/0.9947, allocations: 2.565 MB / 0.791 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.9948, allocations: 8.469 kB / 0.7911 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.9948, allocations: 10.53 kB / 0.7911 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009725/1.005, allocations: 1.727 MB / 0.7927 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/1.005, allocations: 95.62 kB / 0.7928 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.017, allocations: 7.151 MB / 0.7998 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.018, allocations: 19.02 kB / 0.7998 GB, free: 8.473 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/1.019, allocations: 48.67 kB / 0.7999 GB, free: 8.473 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004672/1.019, allocations: 213.1 kB / 0.8001 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/1.019, allocations: 82.59 kB / 0.8002 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/1.024, allocations: 1.732 MB / 0.8019 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/1.024, allocations: 8.219 kB / 0.8019 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.024, allocations: 2.75 kB / 0.8019 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/1.024, allocations: 2.297 kB / 0.8019 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/1.03, allocations: 2.551 MB / 0.8044 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.03, allocations: 4 kB / 0.8044 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004134/1.031, allocations: 90.89 kB / 0.8045 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003441/1.034, allocations: 0.8043 MB / 0.8052 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.263e-05/1.034, allocations: 15.41 kB / 0.8053 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006811/1.041, allocations: 4.858 MB / 0.81 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.041, allocations: 2.344 kB / 0.81 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005549/1.047, allocations: 2.148 MB / 0.8121 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006177/1.047, allocations: 229.7 kB / 0.8123 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.048, allocations: 13.34 kB / 0.8123 GB, free: 3.031 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/1.048, allocations: 27.62 kB / 0.8124 GB, free: 3.023 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/1.049, allocations: 57.92 kB / 0.8124 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/1.049, allocations: 17.16 kB / 0.8124 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008318/1.05, allocations: 0.4961 MB / 0.8129 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.05, allocations: 0 / 0.8129 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00146/1.051, allocations: 292.3 kB / 0.8132 GB, free: 2.812 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000657/1.052, allocations: 217.8 kB / 0.8134 GB, free: 2.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004283/1.056, allocations: 1.515 MB / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/1.056, allocations: 0 / 0.8149 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001926/1.058, allocations: 0.9142 MB / 0.8158 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/1.06, allocations: 469.5 kB / 0.8162 GB, free: 1.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003191/1.064, allocations: 1.733 MB / 0.8179 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/1.064, allocations: 0.9856 MB / 0.8189 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000807/1.065, allocations: 161.2 kB / 0.819 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/1.065, allocations: 68.81 kB / 0.8191 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of SimCode: time 9.22e-07/1.065, allocations: 0 / 0.8191 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of Templates: time 0.03771/1.103, allocations: 22.65 MB / 0.8412 GB, free: 11.05 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (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 & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)