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.001665/0.001665, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001963/0.001964, allocations: 195.3 kB / 16.26 MB, free: 6.621 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.456/1.456, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002545/0.002545, allocations: 279.8 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.106/1.106, allocations: 178.6 MB / 0.507 GB, free: 4.738 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002865/0.002865, allocations: 105.3 kB / 0.6059 GB, free: 25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2072, allocations: 89.15 MB / 0.693 GB, free: 4.734 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.5883/0.7956, allocations: 190.1 MB / 0.8787 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006679/0.8023, allocations: 4.01 MB / 0.8826 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008388/0.8032, allocations: 14 kB / 0.8826 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.8046, allocations: 417 kB / 0.883 GB, free: 8.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.8084, allocations: 1.438 MB / 0.8844 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/0.8118, allocations: 1.256 MB / 0.8856 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.8142, allocations: 1.645 MB / 0.8872 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001328/0.8156, allocations: 0.9352 MB / 0.8881 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001533/0.8171, allocations: 0.9422 MB / 0.8891 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.8184, allocations: 0.8877 MB / 0.8899 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001773/0.8186, allocations: 96 kB / 0.89 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003196/0.8218, allocations: 1.36 MB / 0.8913 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004727/0.8223, allocations: 358.9 kB / 0.8917 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006243/0.8229, allocations: 0.5135 MB / 0.8922 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.8263, allocations: 1.721 MB / 0.8939 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.8263, allocations: 4 kB / 0.8939 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.544e-06/0.8263, allocations: 0 / 0.8939 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.249e-05/0.8263, allocations: 0 / 0.8939 GB, free: 14.26 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.003454/0.8298, allocations: 1.441 MB / 0.8953 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8298, allocations: 8.031 kB / 0.8953 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.8315, allocations: 242.8 kB / 0.8955 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009778/0.8324, allocations: 0.5914 MB / 0.8961 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.567e-05/0.8325, allocations: 37 kB / 0.8961 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.8326, allocations: 51.98 kB / 0.8962 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.8344, allocations: 0.9696 MB / 0.8971 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.8344, allocations: 0 / 0.8971 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.565e-05/0.8345, allocations: 27.94 kB / 0.8971 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.521e-05/0.8346, allocations: 24 kB / 0.8972 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.8363, allocations: 0.9445 MB / 0.8981 GB, free: 9.773 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.006108/0.8424, allocations: 4.247 MB / 0.9022 GB, free: 5.348 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/0.8435, allocations: 0.6017 MB / 0.9028 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00086/0.8443, allocations: 0.5144 MB / 0.9033 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.8456, allocations: 0.8783 MB / 0.9042 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.8456, allocations: 42.94 kB / 0.9042 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001987/0.8476, allocations: 459 kB / 0.9047 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=50): time 3.497e-06/0.8476, allocations: 0 / 0.9047 GB, free: 2.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=50): time 0.01904/0.8667, allocations: 3.833 MB / 0.9084 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.8668, allocations: 59.83 kB / 0.9085 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.8679, allocations: 0.7116 MB / 0.9092 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.868, allocations: 37.7 kB / 0.9092 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.8683, allocations: 324.6 kB / 0.9095 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.8685, allocations: 169.4 kB / 0.9097 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.8688, allocations: 158 kB / 0.9098 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.869, allocations: 329.9 kB / 0.9101 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007334/0.8697, allocations: 396.9 kB / 0.9105 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.8706, allocations: 485.5 kB / 0.911 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.8722, allocations: 0.9219 MB / 0.9119 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.8723, allocations: 0 / 0.9119 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01256/0.8848, allocations: 2.56 MB / 0.9144 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.8849, allocations: 8 kB / 0.9144 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.8849, allocations: 0 / 0.9144 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01062/0.8955, allocations: 1.73 MB / 0.9161 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/0.8961, allocations: 95.81 kB / 0.9162 GB, free: 6.715 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/0.9108, allocations: 7.144 MB / 0.9231 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.9118, allocations: 35.89 kB / 0.9232 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/0.912, allocations: 51.91 kB / 0.9232 GB, free: 15.2 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.0005027/0.9125, allocations: 205.7 kB / 0.9234 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.9127, allocations: 79.06 kB / 0.9235 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005613/0.9183, allocations: 1.742 MB / 0.9252 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.9183, allocations: 7.938 kB / 0.9252 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/0.9184, allocations: 9.5 kB / 0.9252 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9184, allocations: 3.984 kB / 0.9252 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006483/0.9249, allocations: 2.536 MB / 0.9277 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.9249, allocations: 4 kB / 0.9277 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.9254, allocations: 91.83 kB / 0.9278 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003593/0.929, allocations: 0.81 MB / 0.9286 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.811e-05/0.9291, allocations: 16 kB / 0.9286 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007579/0.9366, allocations: 4.845 MB / 0.9333 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.9367, allocations: 4.078 kB / 0.9333 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005673/0.9423, allocations: 2.157 MB / 0.9354 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005668/0.9429, allocations: 235.9 kB / 0.9357 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.9431, allocations: 12 kB / 0.9357 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006283/0.9437, allocations: 40.06 kB / 0.9357 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.9439, allocations: 48.44 kB / 0.9358 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/0.944, allocations: 23.92 kB / 0.9358 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007097/0.9447, allocations: 0.5029 MB / 0.9363 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.9447, allocations: 0 / 0.9363 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001029/0.9457, allocations: 287.8 kB / 0.9365 GB, free: 1.109 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.0005602/0.9463, allocations: 219.1 kB / 0.9368 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00409/0.9504, allocations: 1.515 MB / 0.9382 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.9504, allocations: 0 / 0.9382 GB, free: 15.35 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001995/0.9524, allocations: 0.9127 MB / 0.9391 GB, free: 14.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/0.9547, allocations: 467.6 kB / 0.9396 GB, free: 13.98 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.958, allocations: 1.97 MB / 0.9415 GB, free: 11.98 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006966/0.9587, allocations: 0.9828 MB / 0.9425 GB, free: 10.97 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006758/0.9593, allocations: 166.6 kB / 0.9426 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.9596, allocations: 71.41 kB / 0.9427 GB, free: 10.73 MB / 0.67 GB Notification: Performance of SimCode: time 8.61e-07/0.9596, allocations: 0 / 0.9427 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Templates: time 0.04093/1.001, allocations: 22.63 MB / 0.9648 GB, free: 4.359 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)