Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw") translateModel(IBPSA.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001697/0.001697, allocations: 106 kB / 15.98 MB, free: 6.348 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.001269/0.001269, allocations: 195.4 kB / 16.91 MB, free: 6.191 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.343/1.343, allocations: 222.9 MB / 240.6 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7293/0.7293, allocations: 122.9 MB / 413.6 MB, free: 8 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.91 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.381, allocations: 77.93 MB / 0.5667 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5806/0.9617, allocations: 190.1 MB / 0.7524 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006117/0.9678, allocations: 4.001 MB / 0.7563 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.9689, allocations: 20.62 kB / 0.7563 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.9703, allocations: 416.9 kB / 0.7567 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.9746, allocations: 1.434 MB / 0.7581 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003765/0.9784, allocations: 1.262 MB / 0.7593 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003055/0.9814, allocations: 1.645 MB / 0.7609 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.983, allocations: 0.9341 MB / 0.7619 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002328/0.9853, allocations: 0.9385 MB / 0.7628 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.9868, allocations: 0.8854 MB / 0.7636 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002053/0.987, allocations: 95 kB / 0.7637 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.9903, allocations: 1.359 MB / 0.7651 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.9908, allocations: 359.2 kB / 0.7654 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008045/0.9916, allocations: 0.5139 MB / 0.7659 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.9947, allocations: 1.725 MB / 0.7676 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.9948, allocations: 3.938 kB / 0.7676 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9948, allocations: 1.781 kB / 0.7676 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.9948, allocations: 4.812 kB / 0.7676 GB, free: 1.504 MB / 0.5762 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.003752/0.9986, allocations: 1.444 MB / 0.769 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.9986, allocations: 10.59 kB / 0.769 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1, allocations: 245.3 kB / 0.7693 GB, free: 16.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/1.001, allocations: 0.5807 MB / 0.7698 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.842e-05/1.001, allocations: 39.16 kB / 0.7699 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/1.001, allocations: 50.34 kB / 0.7699 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/1.003, allocations: 0.9653 MB / 0.7708 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/1.003, allocations: 5 kB / 0.7709 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/1.003, allocations: 21.06 kB / 0.7709 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.125e-05/1.003, allocations: 32.61 kB / 0.7709 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/1.005, allocations: 0.9382 MB / 0.7718 GB, free: 16.26 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.005819/1.01, allocations: 4.262 MB / 0.776 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009615/1.011, allocations: 0.5982 MB / 0.7766 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/1.012, allocations: 0.515 MB / 0.7771 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/1.013, allocations: 0.8765 MB / 0.7779 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/1.013, allocations: 38.31 kB / 0.778 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001845/1.015, allocations: 462.3 kB / 0.7784 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 4.108e-06/1.015, allocations: 0 / 0.7784 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01705/1.032, allocations: 3.832 MB / 0.7821 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/1.032, allocations: 63.62 kB / 0.7822 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009383/1.033, allocations: 0.7093 MB / 0.7829 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/1.033, allocations: 36.38 kB / 0.7829 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/1.034, allocations: 322.5 kB / 0.7832 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/1.034, allocations: 176.7 kB / 0.7834 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/1.034, allocations: 150.8 kB / 0.7836 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.034, allocations: 324.6 kB / 0.7839 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005665/1.035, allocations: 397.7 kB / 0.7842 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/1.035, allocations: 488.2 kB / 0.7847 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/1.037, allocations: 0.9182 MB / 0.7856 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.037, allocations: 6.906 kB / 0.7856 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01144/1.048, allocations: 2.557 MB / 0.7881 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.048, allocations: 5.781 kB / 0.7881 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/1.048, allocations: 3.844 kB / 0.7881 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009332/1.057, allocations: 1.738 MB / 0.7898 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/1.058, allocations: 96.3 kB / 0.7899 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.07, allocations: 7.147 MB / 0.7969 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.071, allocations: 35.75 kB / 0.7969 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.795e-05/1.071, allocations: 50.09 kB / 0.797 GB, free: 8.527 MB / 0.5919 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.0004183/1.072, allocations: 213.5 kB / 0.7972 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.072, allocations: 76.34 kB / 0.7972 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/1.077, allocations: 1.746 MB / 0.7989 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/1.077, allocations: 8.375 kB / 0.799 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/1.077, allocations: 3.734 kB / 0.799 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.077, allocations: 3.141 kB / 0.799 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/1.083, allocations: 2.541 MB / 0.8014 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/1.083, allocations: 2.656 kB / 0.8014 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004471/1.083, allocations: 94.98 kB / 0.8015 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.087, allocations: 0.7989 MB / 0.8023 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/1.087, allocations: 19.05 kB / 0.8023 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/1.093, allocations: 4.859 MB / 0.8071 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.094, allocations: 3.562 kB / 0.8071 GB, free: 4.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005344/1.099, allocations: 2.143 MB / 0.8092 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/1.1, allocations: 236.9 kB / 0.8094 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/1.1, allocations: 15.69 kB / 0.8094 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006393/1.1, allocations: 31.8 kB / 0.8094 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/1.101, allocations: 57.52 kB / 0.8095 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/1.101, allocations: 18.06 kB / 0.8095 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006497/1.101, allocations: 0.4981 MB / 0.81 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.282e-06/1.101, allocations: 0 / 0.81 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00109/1.102, allocations: 286.3 kB / 0.8103 GB, free: 3.258 MB / 0.5919 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.0005113/1.103, allocations: 220.9 kB / 0.8105 GB, free: 3.133 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003764/1.107, allocations: 1.513 MB / 0.812 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/1.107, allocations: 2.219 kB / 0.812 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/1.109, allocations: 0.9208 MB / 0.8129 GB, free: 2.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/1.111, allocations: 460 kB / 0.8133 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/1.114, allocations: 1.967 MB / 0.8152 GB, free: 0.957 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006976/1.115, allocations: 0.9792 MB / 0.8162 GB, free: 148 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008035/1.116, allocations: 162.1 kB / 0.8163 GB, free: 72 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/1.116, allocations: 71.47 kB / 0.8164 GB, free: 56 kB / 0.5919 GB Notification: Performance of SimCode: time 3.176e-06/1.116, allocations: 0 / 0.8164 GB, free: 56 kB / 0.5919 GB Notification: Performance of Templates: time 0.03883/1.155, allocations: 22.65 MB / 0.8385 GB, free: 12.26 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1)