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.001098/0.001098, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001061/0.001061, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 284 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9422/0.9422, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 94.44 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1581, allocations: 86.98 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4633/0.6214, allocations: 192.6 MB / 0.8697 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.006072/0.6275, allocations: 4.019 MB / 0.8736 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000725/0.6283, allocations: 23.88 kB / 0.8736 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.6295, allocations: 473 kB / 0.8741 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.633, allocations: 1.528 MB / 0.8756 GB, free: 7.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003228/0.6362, allocations: 1.363 MB / 0.8769 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.6384, allocations: 1.635 MB / 0.8785 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.6396, allocations: 0.9468 MB / 0.8794 GB, free: 3.754 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001604/0.6413, allocations: 0.9228 MB / 0.8803 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.6423, allocations: 0.8565 MB / 0.8812 GB, free: 1.969 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.6425, allocations: 96 kB / 0.8813 GB, free: 1.875 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.6449, allocations: 1.309 MB / 0.8826 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.6453, allocations: 351 kB / 0.8829 GB, free: 224 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005929/0.6459, allocations: 0.5133 MB / 0.8834 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002384/0.6483, allocations: 1.632 MB / 0.885 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6483, allocations: 0 / 0.885 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6483, allocations: 0 / 0.885 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.6483, allocations: 3.984 kB / 0.885 GB, free: 14.06 MB / 0.6544 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.002979/0.6513, allocations: 1.449 MB / 0.8864 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.6514, allocations: 16.03 kB / 0.8864 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00162/0.653, allocations: 230.8 kB / 0.8866 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009868/0.654, allocations: 0.611 MB / 0.8872 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.654, allocations: 37 kB / 0.8873 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.6542, allocations: 55.91 kB / 0.8873 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001431/0.6556, allocations: 0.962 MB / 0.8883 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6556, allocations: 4 kB / 0.8883 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.736e-05/0.6557, allocations: 24 kB / 0.8883 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.6558, allocations: 27.92 kB / 0.8883 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.6573, allocations: 0.9329 MB / 0.8892 GB, free: 9.559 MB / 0.6544 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.005532/0.6628, allocations: 4.268 MB / 0.8934 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.6638, allocations: 0.5988 MB / 0.894 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007282/0.6645, allocations: 0.5136 MB / 0.8945 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009794/0.6655, allocations: 0.8783 MB / 0.8953 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.6656, allocations: 35 kB / 0.8954 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001474/0.667, allocations: 423.2 kB / 0.8958 GB, free: 2.477 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=50): time 2.825e-06/0.6671, allocations: 3.938 kB / 0.8958 GB, free: 2.473 MB / 0.6544 GB Notification: Performance of matching and sorting (n=50): time 0.01772/0.6848, allocations: 3.829 MB / 0.8995 GB, free: 14.59 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.6849, allocations: 63.84 kB / 0.8996 GB, free: 14.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009877/0.6859, allocations: 0.7116 MB / 0.9003 GB, free: 13.79 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001796/0.686, allocations: 37.7 kB / 0.9003 GB, free: 13.75 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.6863, allocations: 320.5 kB / 0.9006 GB, free: 13.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.6866, allocations: 181.4 kB / 0.9008 GB, free: 13.26 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002843/0.6869, allocations: 146.1 kB / 0.9009 GB, free: 13.11 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.687, allocations: 322 kB / 0.9012 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.6876, allocations: 392.9 kB / 0.9016 GB, free: 12.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007156/0.6884, allocations: 493.5 kB / 0.9021 GB, free: 11.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.6899, allocations: 0.918 MB / 0.903 GB, free: 10.95 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.6899, allocations: 4 kB / 0.903 GB, free: 10.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01134/0.7012, allocations: 2.571 MB / 0.9055 GB, free: 8.363 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.7013, allocations: 7.938 kB / 0.9055 GB, free: 8.355 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.7013, allocations: 4 kB / 0.9055 GB, free: 8.352 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009718/0.711, allocations: 1.722 MB / 0.9072 GB, free: 6.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.7116, allocations: 95.86 kB / 0.9073 GB, free: 6.527 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.7241, allocations: 7.142 MB / 0.9143 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008059/0.7249, allocations: 8 kB / 0.9143 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-05/0.725, allocations: 51.92 kB / 0.9143 GB, free: 15.03 MB / 0.6856 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.0003708/0.7254, allocations: 213.7 kB / 0.9145 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/0.7256, allocations: 79.06 kB / 0.9146 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004995/0.7306, allocations: 1.735 MB / 0.9163 GB, free: 12.99 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7306, allocations: 11.94 kB / 0.9163 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.7306, allocations: 4 kB / 0.9163 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7307, allocations: 0 / 0.9163 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005829/0.7365, allocations: 2.54 MB / 0.9188 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.7365, allocations: 4 kB / 0.9188 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/0.737, allocations: 88.77 kB / 0.9189 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/0.7405, allocations: 0.8056 MB / 0.9197 GB, free: 9.449 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.7405, allocations: 16 kB / 0.9197 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006551/0.7471, allocations: 4.844 MB / 0.9244 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7471, allocations: 11.94 kB / 0.9244 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005189/0.7523, allocations: 2.147 MB / 0.9265 GB, free: 2.113 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.7528, allocations: 232.2 kB / 0.9267 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.753, allocations: 12 kB / 0.9267 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.7535, allocations: 19.98 kB / 0.9268 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001729/0.7537, allocations: 60.48 kB / 0.9268 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.7538, allocations: 23.94 kB / 0.9268 GB, free: 1.754 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0005957/0.7544, allocations: 0.499 MB / 0.9273 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7544, allocations: 4 kB / 0.9273 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009185/0.7553, allocations: 287.8 kB / 0.9276 GB, free: 0.9727 MB / 0.6856 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.000451/0.7558, allocations: 213.3 kB / 0.9278 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003389/0.7592, allocations: 1.468 MB / 0.9292 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7592, allocations: 256 / 0.9292 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001756/0.7609, allocations: 0.9185 MB / 0.9301 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.7628, allocations: 462.9 kB / 0.9306 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.7654, allocations: 1.719 MB / 0.9323 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005172/0.7659, allocations: 0.9828 MB / 0.9332 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0004825/0.7664, allocations: 158.6 kB / 0.9334 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.7666, allocations: 63.42 kB / 0.9334 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of SimCode: time 4.11e-07/0.7666, allocations: 0 / 0.9334 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of Templates: time 0.03247/0.7991, allocations: 22.63 MB / 0.9555 GB, free: 4.535 MB / 0.7169 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)