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.001618/0.001619, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001825, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.424/1.424, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002326/0.002326, allocations: 283.1 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9429/0.9429, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 100.3 kB / 0.5952 GB, free: 27.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1963, allocations: 86.97 MB / 0.6802 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.6712/0.8676, allocations: 192.6 MB / 0.8683 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007405/0.875, allocations: 4.024 MB / 0.8722 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009231/0.876, allocations: 20.72 kB / 0.8722 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.8773, allocations: 479.6 kB / 0.8727 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003724/0.8811, allocations: 1.527 MB / 0.8742 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.885, allocations: 1.355 MB / 0.8755 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.8878, allocations: 1.633 MB / 0.8771 GB, free: 7.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001628/0.8895, allocations: 0.9406 MB / 0.878 GB, free: 6.996 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.8917, allocations: 0.9244 MB / 0.8789 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.8931, allocations: 0.8524 MB / 0.8797 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/0.8932, allocations: 98.19 kB / 0.8798 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003214/0.8964, allocations: 1.304 MB / 0.8811 GB, free: 5.262 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004676/0.8969, allocations: 349.8 kB / 0.8814 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006138/0.8975, allocations: 0.5156 MB / 0.8819 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.9004, allocations: 1.618 MB / 0.8835 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.9004, allocations: 2.531 kB / 0.8835 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.994e-06/0.9005, allocations: 0 / 0.8835 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.9005, allocations: 0 / 0.8835 GB, free: 3.609 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.003168/0.9036, allocations: 1.458 MB / 0.8849 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.9037, allocations: 11.72 kB / 0.885 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.9052, allocations: 240.7 kB / 0.8852 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009471/0.9062, allocations: 0.5848 MB / 0.8858 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.9062, allocations: 35.03 kB / 0.8858 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.9064, allocations: 59.09 kB / 0.8858 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.9078, allocations: 0.9685 MB / 0.8868 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.9079, allocations: 7.922 kB / 0.8868 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/0.908, allocations: 19.28 kB / 0.8868 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/0.908, allocations: 26.53 kB / 0.8868 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.9095, allocations: 0.9366 MB / 0.8878 GB, free: 0.7188 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.005309/0.9148, allocations: 4.253 MB / 0.8919 GB, free: 13.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.9157, allocations: 0.6005 MB / 0.8925 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.9165, allocations: 0.5136 MB / 0.893 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001139/0.9176, allocations: 0.884 MB / 0.8939 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.9177, allocations: 37.72 kB / 0.8939 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001471/0.9192, allocations: 424.8 kB / 0.8943 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 2.455e-06/0.9192, allocations: 0 / 0.8943 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01821/0.9374, allocations: 3.83 MB / 0.898 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.9375, allocations: 55.84 kB / 0.8981 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/0.9386, allocations: 0.7194 MB / 0.8988 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/0.9387, allocations: 37.7 kB / 0.8988 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002721/0.939, allocations: 328.5 kB / 0.8991 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.9392, allocations: 177.4 kB / 0.8993 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.9395, allocations: 150 kB / 0.8995 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.9397, allocations: 326 kB / 0.8998 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006533/0.9403, allocations: 396.9 kB / 0.9001 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007218/0.9411, allocations: 487.5 kB / 0.9006 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001517/0.9426, allocations: 0.918 MB / 0.9015 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.9426, allocations: 0 / 0.9015 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01181/0.9544, allocations: 2.564 MB / 0.904 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.203e-05/0.9545, allocations: 9.875 kB / 0.904 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.9545, allocations: 0 / 0.904 GB, free: 1.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009675/0.9642, allocations: 1.732 MB / 0.9057 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.9648, allocations: 99.75 kB / 0.9058 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/0.9788, allocations: 7.14 MB / 0.9128 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.98, allocations: 20.05 kB / 0.9128 GB, free: 8.238 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002115/0.9803, allocations: 47.88 kB / 0.9128 GB, free: 8.191 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.0006214/0.9809, allocations: 218.9 kB / 0.9131 GB, free: 7.969 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003791/0.9813, allocations: 79.06 kB / 0.9131 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005887/0.9872, allocations: 1.734 MB / 0.9148 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.9872, allocations: 7.938 kB / 0.9148 GB, free: 6.137 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.165e-05/0.9873, allocations: 8 kB / 0.9148 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/0.9873, allocations: 3.984 kB / 0.9148 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006968/0.9942, allocations: 2.536 MB / 0.9173 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.9943, allocations: 10.44 kB / 0.9173 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004493/0.9947, allocations: 91.81 kB / 0.9174 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003474/0.9982, allocations: 0.8058 MB / 0.9182 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.45e-05/0.9983, allocations: 16 kB / 0.9182 GB, free: 2.582 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00746/1.006, allocations: 4.85 MB / 0.923 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.006, allocations: 4 kB / 0.923 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005604/1.011, allocations: 2.155 MB / 0.9251 GB, free: 11.26 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/1.012, allocations: 232 kB / 0.9253 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/1.012, allocations: 12 kB / 0.9253 GB, free: 11 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/1.013, allocations: 27.97 kB / 0.9253 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.013, allocations: 52.38 kB / 0.9254 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.493e-05/1.013, allocations: 20 kB / 0.9254 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000889/1.014, allocations: 0.499 MB / 0.9259 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.014, allocations: 0 / 0.9259 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001246/1.015, allocations: 295.7 kB / 0.9262 GB, free: 10.12 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.0006364/1.016, allocations: 213.6 kB / 0.9264 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004266/1.02, allocations: 1.519 MB / 0.9278 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/1.02, allocations: 0 / 0.9278 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.023, allocations: 0.907 MB / 0.9287 GB, free: 7.418 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/1.025, allocations: 464.9 kB / 0.9292 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/1.028, allocations: 1.748 MB / 0.9309 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007987/1.029, allocations: 0.9789 MB / 0.9318 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000699/1.03, allocations: 162.6 kB / 0.932 GB, free: 4.027 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/1.03, allocations: 67.41 kB / 0.9321 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of SimCode: time 1.193e-06/1.03, allocations: 0 / 0.9321 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of Templates: time 0.04138/1.072, allocations: 22.64 MB / 0.9542 GB, free: 13.59 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)