Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw") translateModel(BuildingSystems.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001623/0.001623, allocations: 192.7 kB / 16.13 MB, free: 6.707 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.427/1.427, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002338/0.002338, allocations: 279.2 kB / 290.2 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 89.94 kB / 0.5945 GB, free: 28.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1837, allocations: 86.98 MB / 0.6794 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5454/0.7291, allocations: 190.4 MB / 0.8653 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008475/0.7377, allocations: 4.073 MB / 0.8693 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.739, allocations: 16.59 kB / 0.8693 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001367/0.7404, allocations: 394.1 kB / 0.8697 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003994/0.7444, allocations: 1.444 MB / 0.8711 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003438/0.7479, allocations: 1.246 MB / 0.8723 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00284/0.7507, allocations: 2.355 MB / 0.8746 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.7519, allocations: 0.8795 MB / 0.8755 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001552/0.7535, allocations: 0.8542 MB / 0.8763 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.7545, allocations: 0.8911 MB / 0.8772 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.7547, allocations: 75.53 kB / 0.8773 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00294/0.7576, allocations: 1.57 MB / 0.8788 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003529/0.758, allocations: 333.7 kB / 0.8791 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000534/0.7585, allocations: 0.4998 MB / 0.8796 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002528/0.7611, allocations: 1.706 MB / 0.8813 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.7611, allocations: 0 / 0.8813 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7611, allocations: 0 / 0.8813 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.318e-05/0.7611, allocations: 2.656 kB / 0.8813 GB, free: 5.488 MB / 0.5919 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.003258/0.7644, allocations: 1.444 MB / 0.8827 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.7644, allocations: 10.44 kB / 0.8827 GB, free: 4.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.7661, allocations: 237.9 kB / 0.8829 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.7671, allocations: 0.5807 MB / 0.8835 GB, free: 3.863 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.622e-05/0.7671, allocations: 41.77 kB / 0.8835 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.7672, allocations: 57 kB / 0.8836 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.7687, allocations: 0.9639 MB / 0.8845 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.7688, allocations: 6.703 kB / 0.8845 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.796e-05/0.7688, allocations: 20.72 kB / 0.8846 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/0.7689, allocations: 30.77 kB / 0.8846 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.7705, allocations: 0.938 MB / 0.8855 GB, free: 2.613 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.006142/0.7767, allocations: 4.255 MB / 0.8897 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7777, allocations: 0.602 MB / 0.8902 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.7785, allocations: 0.5171 MB / 0.8907 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.7796, allocations: 0.8803 MB / 0.8916 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.7797, allocations: 37.62 kB / 0.8916 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001921/0.7816, allocations: 443.6 kB / 0.8921 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.98e-06/0.7816, allocations: 0 / 0.8921 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01791/0.7995, allocations: 3.834 MB / 0.8958 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.7996, allocations: 55.84 kB / 0.8959 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/0.8008, allocations: 0.7155 MB / 0.8966 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001812/0.801, allocations: 37.7 kB / 0.8966 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.8013, allocations: 320.6 kB / 0.8969 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.8015, allocations: 177.4 kB / 0.8971 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.8017, allocations: 146 kB / 0.8972 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8019, allocations: 330 kB / 0.8975 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006716/0.8025, allocations: 396.8 kB / 0.8979 GB, free: 7.672 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007901/0.8033, allocations: 489.5 kB / 0.8984 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001492/0.8049, allocations: 0.9258 MB / 0.8993 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8049, allocations: 0 / 0.8993 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01153/0.8164, allocations: 2.56 MB / 0.9018 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.8165, allocations: 14.48 kB / 0.9018 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.8165, allocations: 0 / 0.9018 GB, free: 3.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009909/0.8264, allocations: 1.727 MB / 0.9035 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005291/0.827, allocations: 97.86 kB / 0.9036 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.84, allocations: 6.655 MB / 0.9101 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.8411, allocations: 27.98 kB / 0.9101 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.8413, allocations: 47.92 kB / 0.9101 GB, free: 10.8 MB / 0.6231 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.0004133/0.8417, allocations: 211 kB / 0.9103 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.8419, allocations: 82.97 kB / 0.9104 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00524/0.8471, allocations: 1.738 MB / 0.9121 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.8472, allocations: 4 kB / 0.9121 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.8472, allocations: 8 kB / 0.9121 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.8472, allocations: 3.984 kB / 0.9121 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.8536, allocations: 2.532 MB / 0.9146 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/0.8537, allocations: 12.17 kB / 0.9146 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004924/0.8542, allocations: 85.95 kB / 0.9147 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003586/0.8578, allocations: 0.7977 MB / 0.9155 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.806e-05/0.8579, allocations: 19.94 kB / 0.9155 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/0.8648, allocations: 4.476 MB / 0.9199 GB, free: 464 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.8649, allocations: 11.94 kB / 0.9199 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005547/0.8704, allocations: 2.143 MB / 0.922 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006065/0.8711, allocations: 235.9 kB / 0.9222 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00013/0.8712, allocations: 12.75 kB / 0.9222 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.8718, allocations: 27.92 kB / 0.9222 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001864/0.872, allocations: 60.42 kB / 0.9223 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.8721, allocations: 20 kB / 0.9223 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006126/0.8727, allocations: 0.499 MB / 0.9228 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8727, allocations: 0 / 0.9228 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001005/0.8737, allocations: 287.7 kB / 0.9231 GB, free: 13.11 MB / 0.6387 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.0004893/0.8742, allocations: 228.3 kB / 0.9233 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003447/0.8777, allocations: 1.461 MB / 0.9247 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.8777, allocations: 0 / 0.9247 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001787/0.8795, allocations: 0.9147 MB / 0.9256 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/0.8816, allocations: 443.2 kB / 0.926 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.8844, allocations: 1.97 MB / 0.928 GB, free: 8.031 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.885, allocations: 0.9828 MB / 0.9289 GB, free: 7.02 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006248/0.8856, allocations: 166.6 kB / 0.9291 GB, free: 6.852 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/0.8858, allocations: 67.42 kB / 0.9291 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.8858, allocations: 0 / 0.9291 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of Templates: time 0.03278/0.9186, allocations: 21.66 MB / 0.9503 GB, free: 1.387 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.sim & ./BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)