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.001264/0.001265, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001255/0.001255, allocations: 191.3 kB / 16.14 MB, free: 6.715 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.454/1.454, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002568/0.002568, allocations: 282.6 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.102/1.102, allocations: 178.6 MB / 0.5068 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002869/0.002869, allocations: 96.14 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2012, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6244/0.8256, allocations: 190.4 MB / 0.8787 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007542/0.8332, allocations: 4.07 MB / 0.8827 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001178/0.8344, allocations: 20.19 kB / 0.8827 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.8361, allocations: 393.9 kB / 0.8831 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005683/0.8419, allocations: 1.445 MB / 0.8845 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004447/0.8463, allocations: 1.241 MB / 0.8857 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.85, allocations: 2.352 MB / 0.888 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.8513, allocations: 0.8809 MB / 0.8889 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.8532, allocations: 0.8564 MB / 0.8897 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.8545, allocations: 0.8838 MB / 0.8906 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.8546, allocations: 76 kB / 0.8906 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.8581, allocations: 1.57 MB / 0.8922 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.8585, allocations: 331 kB / 0.8925 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006473/0.8592, allocations: 0.5016 MB / 0.893 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002707/0.8619, allocations: 1.706 MB / 0.8946 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8619, allocations: 0 / 0.8946 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8619, allocations: 0 / 0.8946 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.028e-05/0.8619, allocations: 0 / 0.8946 GB, free: 13.35 MB / 0.6231 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.003377/0.8653, allocations: 1.457 MB / 0.8961 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.8654, allocations: 8.031 kB / 0.8961 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.867, allocations: 230.8 kB / 0.8963 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.868, allocations: 0.5992 MB / 0.8969 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.868, allocations: 37 kB / 0.8969 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.8682, allocations: 52 kB / 0.897 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.8698, allocations: 0.9609 MB / 0.8979 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8698, allocations: 0 / 0.8979 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/0.8699, allocations: 20 kB / 0.8979 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.87, allocations: 35.92 kB / 0.8979 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00167/0.8717, allocations: 0.9368 MB / 0.8989 GB, free: 8.863 MB / 0.6231 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.005989/0.8777, allocations: 4.251 MB / 0.903 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.8788, allocations: 0.5939 MB / 0.9036 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008581/0.8796, allocations: 0.5183 MB / 0.9041 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.8809, allocations: 0.8744 MB / 0.9049 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.8809, allocations: 44.73 kB / 0.905 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00179/0.8827, allocations: 443 kB / 0.9054 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 2.645e-06/0.8827, allocations: 3.938 kB / 0.9054 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01851/0.9012, allocations: 3.822 MB / 0.9091 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.9013, allocations: 63.78 kB / 0.9092 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.9026, allocations: 0.7116 MB / 0.9099 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000119/0.9027, allocations: 37.7 kB / 0.9099 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003159/0.9031, allocations: 324.6 kB / 0.9103 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.9033, allocations: 185.3 kB / 0.9104 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.9036, allocations: 154 kB / 0.9106 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.9038, allocations: 322 kB / 0.9109 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007349/0.9046, allocations: 392.9 kB / 0.9113 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008451/0.9054, allocations: 493.5 kB / 0.9117 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.9071, allocations: 0.918 MB / 0.9126 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.9071, allocations: 4 kB / 0.9126 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01207/0.9192, allocations: 2.56 MB / 0.9151 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.9193, allocations: 4 kB / 0.9151 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.9193, allocations: 4 kB / 0.9151 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.9295, allocations: 1.727 MB / 0.9168 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005718/0.9301, allocations: 87.86 kB / 0.9169 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.9441, allocations: 6.664 MB / 0.9234 GB, free: 14.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.9452, allocations: 31.97 kB / 0.9234 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/0.9454, allocations: 43.94 kB / 0.9235 GB, free: 14.82 MB / 0.6544 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.0006184/0.946, allocations: 213.7 kB / 0.9237 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.9464, allocations: 86.95 kB / 0.9238 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/0.9523, allocations: 1.735 MB / 0.9255 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.9523, allocations: 8 kB / 0.9255 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/0.9524, allocations: 8 kB / 0.9255 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.9524, allocations: 3.984 kB / 0.9255 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/0.9594, allocations: 2.54 MB / 0.928 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.9594, allocations: 4.031 kB / 0.928 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.9599, allocations: 87.89 kB / 0.9281 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/0.9637, allocations: 0.8093 MB / 0.9288 GB, free: 9.219 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.858e-05/0.9638, allocations: 18.38 kB / 0.9289 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007447/0.9713, allocations: 4.478 MB / 0.9332 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.9713, allocations: 0 / 0.9332 GB, free: 4.457 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005982/0.9773, allocations: 2.156 MB / 0.9353 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.9779, allocations: 231.9 kB / 0.9356 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002713/0.9782, allocations: 12 kB / 0.9356 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008148/0.979, allocations: 35.88 kB / 0.9356 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.9793, allocations: 56.44 kB / 0.9357 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.067e-05/0.9793, allocations: 20 kB / 0.9357 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000903/0.9802, allocations: 0.4951 MB / 0.9362 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9802, allocations: 0 / 0.9362 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001382/0.9816, allocations: 287.8 kB / 0.9364 GB, free: 1.117 MB / 0.6544 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.0007587/0.9824, allocations: 238 kB / 0.9367 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004104/0.9865, allocations: 1.457 MB / 0.9381 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9865, allocations: 3.938 kB / 0.9381 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002032/0.9886, allocations: 0.907 MB / 0.939 GB, free: 14.47 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/0.991, allocations: 436.7 kB / 0.9394 GB, free: 14.05 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.9946, allocations: 1.979 MB / 0.9413 GB, free: 12.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007459/0.9953, allocations: 0.9867 MB / 0.9423 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007405/0.9961, allocations: 162.6 kB / 0.9424 GB, free: 10.86 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.9963, allocations: 63.42 kB / 0.9425 GB, free: 10.8 MB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.9963, allocations: 0 / 0.9425 GB, free: 10.8 MB / 0.67 GB Notification: Performance of Templates: time 0.03853/1.035, allocations: 21.66 MB / 0.9637 GB, free: 5.387 MB / 0.6856 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)