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.001113/0.001112, 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.0011/0.0011, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.342/1.342, 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.002165/0.002165, allocations: 294.4 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9662/0.9662, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 89.05 kB / 0.5947 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.192, allocations: 86.98 MB / 0.6796 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Airflow.Multizone.Examples.PowerLaw): time 0.4808/0.6729, allocations: 190.1 MB / 0.8653 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006326/0.6793, allocations: 4.014 MB / 0.8692 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007602/0.68, allocations: 20.53 kB / 0.8692 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.6813, allocations: 412.9 kB / 0.8696 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003225/0.6845, allocations: 1.441 MB / 0.871 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.6876, allocations: 1.253 MB / 0.8723 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001886/0.6895, allocations: 1.638 MB / 0.8739 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.6906, allocations: 0.9438 MB / 0.8748 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.692, allocations: 0.9371 MB / 0.8757 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009151/0.6929, allocations: 0.8869 MB / 0.8766 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.6931, allocations: 96.03 kB / 0.8766 GB, free: 8.555 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.6955, allocations: 1.358 MB / 0.878 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.6959, allocations: 360.9 kB / 0.8783 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.6964, allocations: 0.5129 MB / 0.8788 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.6987, allocations: 1.725 MB / 0.8805 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6987, allocations: 7.984 kB / 0.8805 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6987, allocations: 0 / 0.8805 GB, free: 6.082 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6988, allocations: 0 / 0.8805 GB, free: 6.082 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.003003/0.7018, allocations: 1.444 MB / 0.8819 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.7018, allocations: 7.812 kB / 0.8819 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001532/0.7034, allocations: 244.2 kB / 0.8822 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007871/0.7042, allocations: 0.5848 MB / 0.8827 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.029e-05/0.7042, allocations: 37.72 kB / 0.8828 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7043, allocations: 56.58 kB / 0.8828 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.7058, allocations: 0.9659 MB / 0.8838 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.7058, allocations: 2.469 kB / 0.8838 GB, free: 3.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.653e-05/0.7059, allocations: 23.94 kB / 0.8838 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.785e-05/0.7059, allocations: 28.02 kB / 0.8838 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.7074, allocations: 0.9403 MB / 0.8847 GB, free: 3.207 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.005411/0.7128, allocations: 4.252 MB / 0.8889 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.7138, allocations: 0.6055 MB / 0.8895 GB, free: 15.28 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006965/0.7145, allocations: 0.5162 MB / 0.89 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009807/0.7155, allocations: 0.8763 MB / 0.8908 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.7155, allocations: 37.25 kB / 0.8909 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00169/0.7172, allocations: 455.7 kB / 0.8913 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=50): time 4.168e-06/0.7172, allocations: 6.531 kB / 0.8913 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=50): time 0.01817/0.7354, allocations: 3.844 MB / 0.8951 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.7355, allocations: 55.84 kB / 0.8951 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009874/0.7365, allocations: 0.7116 MB / 0.8958 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000131/0.7366, allocations: 37.7 kB / 0.8959 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002684/0.7369, allocations: 320.6 kB / 0.8962 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/0.7371, allocations: 173.4 kB / 0.8963 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.7374, allocations: 150 kB / 0.8965 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7375, allocations: 334 kB / 0.8968 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.7383, allocations: 396.9 kB / 0.8972 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007763/0.7391, allocations: 481.5 kB / 0.8976 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.7406, allocations: 0.9258 MB / 0.8985 GB, free: 7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.7406, allocations: 0 / 0.8985 GB, free: 7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01178/0.7524, allocations: 2.556 MB / 0.901 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.994e-05/0.7524, allocations: 8 kB / 0.901 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7525, allocations: 0 / 0.901 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009937/0.7624, allocations: 1.734 MB / 0.9027 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.7629, allocations: 101.8 kB / 0.9028 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01298/0.7759, allocations: 7.157 MB / 0.9098 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008949/0.7768, allocations: 27.98 kB / 0.9098 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.777, allocations: 43.92 kB / 0.9099 GB, free: 11.07 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.0004163/0.7774, allocations: 211.1 kB / 0.9101 GB, free: 10.85 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/0.7777, allocations: 82.97 kB / 0.9102 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005313/0.783, allocations: 1.73 MB / 0.9119 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.783, allocations: 15.91 kB / 0.9119 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.783, allocations: 4 kB / 0.9119 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.7831, allocations: 0 / 0.9119 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006036/0.7891, allocations: 2.54 MB / 0.9143 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7891, allocations: 2.125 kB / 0.9144 GB, free: 6.379 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.7896, allocations: 88.08 kB / 0.9144 GB, free: 6.293 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003483/0.7931, allocations: 0.8055 MB / 0.9152 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/0.7932, allocations: 16 kB / 0.9152 GB, free: 5.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006763/0.7999, allocations: 4.859 MB / 0.92 GB, free: 340 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.8, allocations: 3.938 kB / 0.92 GB, free: 336 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/0.8054, allocations: 2.147 MB / 0.9221 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004601/0.8059, allocations: 231.9 kB / 0.9223 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.806, allocations: 12 kB / 0.9223 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.8067, allocations: 35.97 kB / 0.9223 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.8069, allocations: 52.44 kB / 0.9224 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.108e-05/0.8069, allocations: 16 kB / 0.9224 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006759/0.8076, allocations: 0.5029 MB / 0.9229 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8076, allocations: 4 kB / 0.9229 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001036/0.8087, allocations: 283.8 kB / 0.9232 GB, free: 13 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.000519/0.8092, allocations: 238.4 kB / 0.9234 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003784/0.813, allocations: 1.512 MB / 0.9249 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.813, allocations: 4 kB / 0.9249 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.8149, allocations: 0.9187 MB / 0.9258 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002147/0.8171, allocations: 461.9 kB / 0.9262 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002916/0.82, allocations: 1.973 MB / 0.9282 GB, free: 7.824 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.8206, allocations: 0.9789 MB / 0.9291 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0006615/0.8212, allocations: 162.6 kB / 0.9293 GB, free: 6.656 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.8215, allocations: 67.42 kB / 0.9293 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/0.8215, allocations: 0 / 0.9293 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of Templates: time 0.03563/0.8571, allocations: 22.63 MB / 0.9514 GB, free: 244 kB / 0.6544 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)