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.001021/0.001021, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.006772/0.006772, allocations: 171.7 kB / 16.26 MB, free: 6.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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 263.2 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.959/0.959, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004743/0.0004744, allocations: 17.73 kB / 0.5986 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1776, allocations: 88.55 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6151/0.7928, allocations: 187.9 MB / 0.8686 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006512/0.7994, allocations: 4.019 MB / 0.8725 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009129/0.8003, allocations: 18.75 kB / 0.8725 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.8015, allocations: 397.3 kB / 0.8729 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003663/0.8052, allocations: 1.438 MB / 0.8743 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003226/0.8084, allocations: 1.249 MB / 0.8755 GB, free: 9.695 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.8111, allocations: 2.35 MB / 0.8778 GB, free: 8.426 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/0.8123, allocations: 0.8773 MB / 0.8787 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.8138, allocations: 0.8429 MB / 0.8795 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.8148, allocations: 0.8698 MB / 0.8804 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.8149, allocations: 72.09 kB / 0.8804 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.8176, allocations: 1.57 MB / 0.882 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003239/0.8179, allocations: 328.5 kB / 0.8823 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005039/0.8184, allocations: 0.5075 MB / 0.8828 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.8206, allocations: 1.682 MB / 0.8844 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.8206, allocations: 0 / 0.8844 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8206, allocations: 0 / 0.8844 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.938e-06/0.8207, allocations: 4 kB / 0.8844 GB, free: 3.797 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.002499/0.8232, allocations: 1.18 MB / 0.8856 GB, free: 2.566 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.8232, allocations: 11.97 kB / 0.8856 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.8247, allocations: 246.7 kB / 0.8858 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009189/0.8256, allocations: 0.5876 MB / 0.8864 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.8257, allocations: 41 kB / 0.8864 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.8258, allocations: 48 kB / 0.8865 GB, free: 1.598 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001444/0.8273, allocations: 0.9726 MB / 0.8874 GB, free: 0.5547 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.8273, allocations: 3.938 kB / 0.8874 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.422e-05/0.8274, allocations: 20 kB / 0.8874 GB, free: 0.5312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.8274, allocations: 31.98 kB / 0.8875 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.8289, allocations: 0.9445 MB / 0.8884 GB, free: 15.55 MB / 0.6075 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.005224/0.8341, allocations: 4.184 MB / 0.8925 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.8351, allocations: 0.6113 MB / 0.8931 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007609/0.8359, allocations: 0.5195 MB / 0.8936 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.8369, allocations: 0.89 MB / 0.8945 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.837, allocations: 39 kB / 0.8945 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001427/0.8384, allocations: 363.1 kB / 0.8948 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.529e-06/0.8384, allocations: 0 / 0.8948 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01765/0.8561, allocations: 3.693 MB / 0.8984 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.8562, allocations: 59.84 kB / 0.8985 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000989/0.8572, allocations: 0.7155 MB / 0.8992 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001571/0.8573, allocations: 33.7 kB / 0.8992 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.8576, allocations: 324.6 kB / 0.8995 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.8578, allocations: 173.5 kB / 0.8997 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.8579, allocations: 45.7 kB / 0.8998 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.858, allocations: 326 kB / 0.9001 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006504/0.8586, allocations: 400.9 kB / 0.9004 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.8593, allocations: 489.5 kB / 0.9009 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.8608, allocations: 0.9336 MB / 0.9018 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8608, allocations: 0 / 0.9018 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01168/0.8725, allocations: 2.482 MB / 0.9042 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.8726, allocations: 4 kB / 0.9043 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8726, allocations: 7.938 kB / 0.9043 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009905/0.8825, allocations: 1.55 MB / 0.9058 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.8831, allocations: 91.88 kB / 0.9059 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/0.8955, allocations: 6.567 MB / 0.9123 GB, free: 6.266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000961/0.8964, allocations: 31.98 kB / 0.9123 GB, free: 6.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.8966, allocations: 47.92 kB / 0.9124 GB, free: 6.188 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.0003895/0.897, allocations: 219.1 kB / 0.9126 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.8971, allocations: 79.06 kB / 0.9126 GB, free: 5.887 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00525/0.9024, allocations: 1.679 MB / 0.9143 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.9024, allocations: 4 kB / 0.9143 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.9024, allocations: 8 kB / 0.9143 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.9025, allocations: 3.938 kB / 0.9143 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.9088, allocations: 2.485 MB / 0.9167 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.9088, allocations: 0 / 0.9167 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.9093, allocations: 91.89 kB / 0.9168 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003351/0.9126, allocations: 0.6576 MB / 0.9174 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.575e-05/0.9127, allocations: 19.94 kB / 0.9175 GB, free: 0.832 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006548/0.9193, allocations: 4.408 MB / 0.9218 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9193, allocations: 4.125 kB / 0.9218 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.9248, allocations: 2.096 MB / 0.9238 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/0.9253, allocations: 239.9 kB / 0.9241 GB, free: 9.766 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.9255, allocations: 15.98 kB / 0.9241 GB, free: 9.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.9261, allocations: 27.98 kB / 0.9241 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.9263, allocations: 56.38 kB / 0.9241 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-05/0.9263, allocations: 23.98 kB / 0.9242 GB, free: 9.645 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006311/0.9269, allocations: 0.499 MB / 0.9247 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.927, allocations: 0 / 0.9247 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000992/0.928, allocations: 283.8 kB / 0.9249 GB, free: 8.871 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.0004778/0.9284, allocations: 228.2 kB / 0.9251 GB, free: 8.652 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003431/0.9319, allocations: 1.429 MB / 0.9265 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.9319, allocations: 0 / 0.9265 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.9337, allocations: 0.8835 MB / 0.9274 GB, free: 6.281 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002449/0.9362, allocations: 444.4 kB / 0.9278 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.9391, allocations: 2.048 MB / 0.9298 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005716/0.9397, allocations: 0.9828 MB / 0.9308 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006502/0.9404, allocations: 170.6 kB / 0.931 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001923/0.9406, allocations: 63.42 kB / 0.931 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of SimCode: time 6.61e-07/0.9406, allocations: 0 / 0.931 GB, free: 2.523 MB / 0.6387 GB Notification: Performance of Templates: time 0.03303/0.9736, allocations: 21.38 MB / 0.9519 GB, free: 13.4 MB / 0.67 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)