Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.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.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") translateModel(IBPSA.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 103.7 kB / 16.52 MB, free: 6.652 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.001409/0.001409, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7018/0.7018, allocations: 115.3 MB / 406.6 MB, free: 6.418 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 493.5 MB, free: 0.8438 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3339, allocations: 76.18 MB / 0.5564 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Airflow.Multizone.Examples.ZonalFlow): time 0.499/0.8329, allocations: 201.9 MB / 0.7536 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009124/0.8421, allocations: 6.451 MB / 0.7599 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001402/0.8435, allocations: 33.03 kB / 0.7599 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.8454, allocations: 0.6448 MB / 0.7605 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007018/0.8525, allocations: 2.519 MB / 0.763 GB, free: 1.648 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Airflow/Multizone/ZonalFlow_ACS.mo:29:3-37:11:writable] Warning: initial() may only be used as a when condition (when initial() or when {..., initial(), ...}), but got condition ‘zonFlo.useDefaultProperties and initial()‘. Notification: Performance of NFTyping.typeClassSections: time 0.002091/0.8546, allocations: 0.6348 MB / 0.7636 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006614/0.8613, allocations: 4.841 MB / 0.7683 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/0.863, allocations: 0.9608 MB / 0.7693 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002804/0.8658, allocations: 1.081 MB / 0.7703 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002587/0.8684, allocations: 1.151 MB / 0.7714 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.8687, allocations: 71.53 kB / 0.7715 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005716/0.8744, allocations: 2.723 MB / 0.7742 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007679/0.8752, allocations: 474.7 kB / 0.7746 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.8768, allocations: 0.676 MB / 0.7753 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003557/0.8803, allocations: 2.068 MB / 0.7773 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.8804, allocations: 3.594 kB / 0.7773 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8804, allocations: 0 / 0.7773 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.114e-05/0.8804, allocations: 1.203 kB / 0.7773 GB, free: 1.316 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005154/0.8856, allocations: 1.774 MB / 0.779 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.8856, allocations: 12.16 kB / 0.779 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.888, allocations: 347.6 kB / 0.7794 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.8894, allocations: 0.8426 MB / 0.7802 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/0.8895, allocations: 77.42 kB / 0.7803 GB, free: 16.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.8896, allocations: 105.4 kB / 0.7804 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/0.8916, allocations: 1.194 MB / 0.7815 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.8916, allocations: 2.906 kB / 0.7815 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.8917, allocations: 39.53 kB / 0.7816 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-05/0.8918, allocations: 66.89 kB / 0.7816 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001671/0.8935, allocations: 1.244 MB / 0.7829 GB, free: 15.97 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.006221/0.8997, allocations: 5.066 MB / 0.7878 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.901, allocations: 1.167 MB / 0.7889 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006076/0.9016, allocations: 0.4997 MB / 0.7894 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.444e-05/0.9017, allocations: 12.17 kB / 0.7894 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006203/0.9023, allocations: 491.8 kB / 0.7899 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/0.9023, allocations: 4 kB / 0.7899 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.001768/0.9041, allocations: 1.157 MB / 0.7911 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.9042, allocations: 60.5 kB / 0.7911 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006303/0.9048, allocations: 0.5755 MB / 0.7917 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.9049, allocations: 39.77 kB / 0.7917 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.9051, allocations: 462.2 kB / 0.7921 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/0.9054, allocations: 271.4 kB / 0.7924 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.9056, allocations: 132.3 kB / 0.7925 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.9058, allocations: 387.7 kB / 0.7929 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.9062, allocations: 332.4 kB / 0.7932 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.9067, allocations: 450.1 kB / 0.7937 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/0.9076, allocations: 0.824 MB / 0.7945 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9077, allocations: 0 / 0.7945 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001331/0.909, allocations: 0.934 MB / 0.7954 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.909, allocations: 7.281 kB / 0.7954 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.909, allocations: 3.562 kB / 0.7954 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.9091, allocations: 4.875 kB / 0.7954 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.9097, allocations: 152.2 kB / 0.7955 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.9097, allocations: 9.5 kB / 0.7955 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.9109, allocations: 156.6 kB / 0.7957 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.911, allocations: 25.81 kB / 0.7957 GB, free: 11.59 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 91 * 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.0005314/0.9115, allocations: 337.1 kB / 0.796 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001445/0.9116, allocations: 79.53 kB / 0.7961 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002051/0.9119, allocations: 107.7 kB / 0.7962 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.076e-06/0.9119, allocations: 8.969 kB / 0.7962 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.9119, allocations: 4 kB / 0.7962 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.913, allocations: 1.097 MB / 0.7973 GB, free: 10.95 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 postOpt removeSimpleEquations (simulation): time 0.00345/0.9165, allocations: 2.3 MB / 0.7995 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.9165, allocations: 4.828 kB / 0.7995 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008498/0.9174, allocations: 175 kB / 0.7997 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.9174, allocations: 8.625 kB / 0.7997 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.9175, allocations: 16.88 kB / 0.7997 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/0.9175, allocations: 2.438 kB / 0.7997 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.9175, allocations: 4 kB / 0.7997 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.9193, allocations: 1.358 MB / 0.8011 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/0.9199, allocations: 256.5 kB / 0.8013 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.9201, allocations: 20.28 kB / 0.8013 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008377/0.9209, allocations: 93.39 kB / 0.8014 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.921, allocations: 43.36 kB / 0.8015 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.397e-05/0.9211, allocations: 31.27 kB / 0.8015 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004814/0.9215, allocations: 408.8 kB / 0.8019 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9215, allocations: 0 / 0.8019 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001034/0.9226, allocations: 372.6 kB / 0.8022 GB, free: 9.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.medium.Xi[1],rooA.dynBal.U,rooA.dynBal.m,rooB.dynBal.medium.Xi[1],rooB.dynBal.U,rooB.dynBal.m) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 76 * 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.0002859/0.9229, allocations: 176.8 kB / 0.8024 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.924, allocations: 0.7988 MB / 0.8032 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.924, allocations: 2.141 kB / 0.8032 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.9247, allocations: 427.9 kB / 0.8036 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002588/0.9273, allocations: 0.5597 MB / 0.8041 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003814/0.9311, allocations: 2.708 MB / 0.8068 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.9318, allocations: 1.141 MB / 0.8079 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/0.9321, allocations: 81.11 kB / 0.808 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/0.9322, allocations: 0 / 0.808 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of Templates: time 0.02283/0.955, allocations: 15.75 MB / 0.8234 GB, free: 13.11 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.sim & ./IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)