Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") translateModel(IBPSA.Airflow.Multizone.Examples.NaturalVentilation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4291/0.4291, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 222.9 MB / 349.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 113 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009958/0.0009959, allocations: 55.91 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2685, allocations: 70.05 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.NaturalVentilation): time 0.4181/0.6867, allocations: 199.7 MB / 0.7525 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00838/0.6951, allocations: 7.476 MB / 0.7598 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.6962, allocations: 33.28 kB / 0.7599 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.6976, allocations: 0.6057 MB / 0.7605 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.7018, allocations: 2.257 MB / 0.7627 GB, free: 0.8984 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002229/0.704, allocations: 1.125 MB / 0.7638 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003229/0.7073, allocations: 4.182 MB / 0.7678 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.7082, allocations: 0.8093 MB / 0.7686 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001241/0.7094, allocations: 0.8984 MB / 0.7695 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.7112, allocations: 0.9946 MB / 0.7705 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.7114, allocations: 61.12 kB / 0.7705 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005199/0.7166, allocations: 2.485 MB / 0.773 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0005271/0.7171, allocations: 399.2 kB / 0.7733 GB, free: 500 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008599/0.718, allocations: 0.6189 MB / 0.7739 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003357/0.7214, allocations: 2.503 MB / 0.7764 GB, free: 44 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7214, allocations: 2.812 kB / 0.7764 GB, free: 44 kB / 0.5105 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7214, allocations: 0 / 0.7764 GB, free: 44 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.7214, allocations: 0 / 0.7764 GB, free: 44 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00296/0.7244, allocations: 1.635 MB / 0.778 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7244, allocations: 6.844 kB / 0.778 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.7265, allocations: 374.6 kB / 0.7784 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.7277, allocations: 0.8161 MB / 0.7792 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.068e-05/0.7277, allocations: 75.89 kB / 0.7792 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.7278, allocations: 83.06 kB / 0.7793 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.7292, allocations: 1.036 MB / 0.7803 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.7293, allocations: 6.625 kB / 0.7803 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.7294, allocations: 38.66 kB / 0.7804 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.7294, allocations: 46.98 kB / 0.7804 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001286/0.7307, allocations: 0.8825 MB / 0.7813 GB, free: 14.02 MB / 0.5261 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.004195/0.7349, allocations: 4.284 MB / 0.7855 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.736, allocations: 0.6916 MB / 0.7861 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006925/0.7367, allocations: 458.3 kB / 0.7866 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/0.7373, allocations: 0.6685 MB / 0.7872 GB, free: 9.078 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7373, allocations: 52.31 kB / 0.7873 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.987e-06/0.7373, allocations: 0 / 0.7873 GB, free: 9.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=70): time 0.001622/0.739, allocations: 0.9908 MB / 0.7882 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.739, allocations: 61.41 kB / 0.7883 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006441/0.7397, allocations: 0.639 MB / 0.7889 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.7397, allocations: 40.2 kB / 0.789 GB, free: 8.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.74, allocations: 433.7 kB / 0.7894 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.7402, allocations: 253.3 kB / 0.7896 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.7404, allocations: 118 kB / 0.7897 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7405, allocations: 383.5 kB / 0.7901 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003995/0.7409, allocations: 275.6 kB / 0.7904 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004725/0.7414, allocations: 378.5 kB / 0.7907 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009003/0.7423, allocations: 0.6616 MB / 0.7914 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7423, allocations: 0.9062 kB / 0.7914 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001139/0.7434, allocations: 0.7995 MB / 0.7921 GB, free: 5.488 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.7435, allocations: 5.719 kB / 0.7921 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.7435, allocations: 4 kB / 0.7921 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7435, allocations: 4 kB / 0.7922 GB, free: 5.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.7441, allocations: 143.7 kB / 0.7923 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.7441, allocations: 4 kB / 0.7923 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008607/0.745, allocations: 122 kB / 0.7924 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.745, allocations: 26.53 kB / 0.7924 GB, free: 5.199 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003736/0.7454, allocations: 289.5 kB / 0.7927 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.7455, allocations: 83 kB / 0.7928 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001257/0.7468, allocations: 0.7966 MB / 0.7936 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.7468, allocations: 8 kB / 0.7936 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7468, allocations: 0 / 0.7936 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009796/0.7478, allocations: 0.8075 MB / 0.7944 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.7503, allocations: 1.859 MB / 0.7962 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.7503, allocations: 0 / 0.7962 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.7511, allocations: 167.6 kB / 0.7963 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7511, allocations: 4 kB / 0.7963 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.616e-05/0.7511, allocations: 19.98 kB / 0.7964 GB, free: 1.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.7511, allocations: 4 kB / 0.7964 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.7511, allocations: 3.938 kB / 0.7964 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01115/0.7623, allocations: 6.719 MB / 0.8029 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.7627, allocations: 247.9 kB / 0.8032 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.575e-05/0.7628, allocations: 12 kB / 0.8032 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007032/0.7635, allocations: 71.84 kB / 0.8032 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.7636, allocations: 44.5 kB / 0.8033 GB, free: 9.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/0.7637, allocations: 27.92 kB / 0.8033 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004632/0.7642, allocations: 455 kB / 0.8038 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2e-07/0.7642, allocations: 0 / 0.8038 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001426/0.7656, allocations: 0.5147 MB / 0.8043 GB, free: 8.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * 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 (70): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003343/0.7659, allocations: 232.6 kB / 0.8045 GB, free: 8.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009903/0.7669, allocations: 0.674 MB / 0.8051 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.7669, allocations: 0 / 0.8051 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000483/0.7674, allocations: 378.5 kB / 0.8055 GB, free: 7.594 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.7696, allocations: 0.5148 MB / 0.806 GB, free: 7.086 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003688/0.7733, allocations: 2.997 MB / 0.8089 GB, free: 4.062 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.7739, allocations: 1.105 MB / 0.81 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009818/0.7749, allocations: 251.2 kB / 0.8102 GB, free: 2.684 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.7752, allocations: 79.44 kB / 0.8103 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of SimCode: time 7.02e-07/0.7752, allocations: 0 / 0.8103 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of Templates: time 0.02929/0.8045, allocations: 20.84 MB / 0.8307 GB, free: 14.02 MB / 0.573 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.NaturalVentilation.pipe 2>&1)