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.001163/0.001163, allocations: 99.3 kB / 16.27 MB, free: 5.965 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.001235/0.001235, allocations: 190.4 kB / 17.19 MB, free: 5.594 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.313/1.313, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7541/0.7541, allocations: 126.4 MB / 417.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 67.89 kB / 0.4953 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3967, allocations: 78.77 MB / 0.5723 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.PowerLaw): time 0.5996/0.9963, allocations: 192.6 MB / 0.7604 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007367/1.004, allocations: 4.021 MB / 0.7643 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/1.005, allocations: 19.69 kB / 0.7643 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/1.007, allocations: 481.2 kB / 0.7648 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004754/1.011, allocations: 1.521 MB / 0.7663 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00527/1.017, allocations: 1.341 MB / 0.7676 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004257/1.021, allocations: 1.621 MB / 0.7692 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/1.023, allocations: 0.9495 MB / 0.7701 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/1.026, allocations: 1.061 MB / 0.7711 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/1.028, allocations: 0.839 MB / 0.7719 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/1.028, allocations: 94.69 kB / 0.772 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004292/1.032, allocations: 1.293 MB / 0.7733 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005932/1.033, allocations: 353.2 kB / 0.7736 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.034, allocations: 0.5133 MB / 0.7741 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004862/1.039, allocations: 1.615 MB / 0.7757 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/1.039, allocations: 0 / 0.7757 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.715e-06/1.039, allocations: 0.7812 kB / 0.7757 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.484e-05/1.039, allocations: 3.812 kB / 0.7757 GB, free: 1.383 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.004243/1.043, allocations: 1.443 MB / 0.7771 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/1.043, allocations: 15.31 kB / 0.7771 GB, free: 16.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/1.045, allocations: 242.4 kB / 0.7774 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.046, allocations: 0.5833 MB / 0.7779 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.89e-05/1.046, allocations: 41.03 kB / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.046, allocations: 51.36 kB / 0.778 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/1.048, allocations: 0.9611 MB / 0.779 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/1.048, allocations: 7.281 kB / 0.779 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/1.048, allocations: 21.5 kB / 0.779 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.662e-05/1.048, allocations: 28.55 kB / 0.779 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/1.05, allocations: 0.9445 MB / 0.7799 GB, free: 16.13 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005988/1.056, allocations: 4.269 MB / 0.7841 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.057, allocations: 0.5932 MB / 0.7847 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006997/1.058, allocations: 0.514 MB / 0.7852 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001058/1.059, allocations: 0.8812 MB / 0.786 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.059, allocations: 41.72 kB / 0.7861 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001705/1.061, allocations: 424 kB / 0.7865 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=50): time 3.687e-06/1.061, allocations: 0 / 0.7865 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of matching and sorting (n=50): time 0.01736/1.078, allocations: 3.835 MB / 0.7902 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/1.078, allocations: 54.41 kB / 0.7903 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.079, allocations: 0.7145 MB / 0.791 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002248/1.079, allocations: 44.05 kB / 0.791 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/1.08, allocations: 320 kB / 0.7913 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002006/1.08, allocations: 172.1 kB / 0.7915 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002494/1.08, allocations: 152 kB / 0.7916 GB, free: 12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.08, allocations: 328.2 kB / 0.792 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006251/1.081, allocations: 395.7 kB / 0.7923 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006827/1.081, allocations: 485.2 kB / 0.7928 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/1.083, allocations: 0.9216 MB / 0.7937 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.083, allocations: 3.75 kB / 0.7937 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01129/1.094, allocations: 2.562 MB / 0.7962 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.094, allocations: 5.75 kB / 0.7962 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.094, allocations: 4.453 kB / 0.7962 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009458/1.104, allocations: 1.735 MB / 0.7979 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005832/1.104, allocations: 92.52 kB / 0.798 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01301/1.117, allocations: 7.145 MB / 0.805 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.119, allocations: 19.83 kB / 0.805 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.119, allocations: 50.89 kB / 0.805 GB, free: 8.379 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.000472/1.119, allocations: 214.9 kB / 0.8052 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/1.119, allocations: 82.41 kB / 0.8053 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005035/1.125, allocations: 1.731 MB / 0.807 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.125, allocations: 5.812 kB / 0.807 GB, free: 7.789 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.125, allocations: 7.953 kB / 0.807 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/1.125, allocations: 3.984 kB / 0.807 GB, free: 7.781 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/1.131, allocations: 2.548 MB / 0.8095 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/1.131, allocations: 6.156 kB / 0.8095 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/1.131, allocations: 87.52 kB / 0.8096 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003415/1.135, allocations: 0.8047 MB / 0.8104 GB, free: 6.508 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.135, allocations: 15.44 kB / 0.8104 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007102/1.142, allocations: 4.868 MB / 0.8152 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.142, allocations: 3.875 kB / 0.8152 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/1.148, allocations: 2.135 MB / 0.8173 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/1.148, allocations: 244.1 kB / 0.8175 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/1.148, allocations: 8.219 kB / 0.8175 GB, free: 2.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/1.149, allocations: 23.08 kB / 0.8175 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.149, allocations: 56.22 kB / 0.8176 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/1.15, allocations: 20.47 kB / 0.8176 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006258/1.15, allocations: 0.4952 MB / 0.8181 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.243e-06/1.15, allocations: 0 / 0.8181 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001187/1.151, allocations: 297.6 kB / 0.8184 GB, free: 2.34 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.0005082/1.152, allocations: 209.5 kB / 0.8186 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003756/1.156, allocations: 1.522 MB / 0.82 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.156, allocations: 0 / 0.82 GB, free: 1.73 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.158, allocations: 0.9162 MB / 0.8209 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/1.16, allocations: 461.4 kB / 0.8214 GB, free: 1.195 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/1.163, allocations: 1.737 MB / 0.8231 GB, free: 280 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/1.163, allocations: 0.979 MB / 0.824 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007815/1.164, allocations: 166.2 kB / 0.8242 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/1.164, allocations: 76.47 kB / 0.8243 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of SimCode: time 1.102e-06/1.164, allocations: 0 / 0.8243 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of Templates: time 0.04195/1.206, allocations: 22.62 MB / 0.8464 GB, free: 9.246 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)