Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow") translateModel(IDEAS.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001723/0.001723, allocations: 113.6 kB / 16.41 MB, free: 6.445 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.001847/0.001847, allocations: 183 kB / 17.34 MB, free: 5.738 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7863, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002472/0.002472, allocations: 62.11 kB / 0.582 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1763, allocations: 80.22 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Airflow.Multizone.Examples.ZonalFlow): time 0.6168/0.7932, allocations: 204.1 MB / 0.8597 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01049/0.8038, allocations: 6.356 MB / 0.8659 GB, free: 2.758 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.8057, allocations: 36.97 kB / 0.8659 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002331/0.8081, allocations: 0.7308 MB / 0.8666 GB, free: 2.156 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00749/0.8156, allocations: 2.676 MB / 0.8693 GB, free: 15.93 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.002146/0.8178, allocations: 0.7027 MB / 0.8699 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004637/0.8224, allocations: 3.273 MB / 0.8731 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.8248, allocations: 1.146 MB / 0.8743 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002834/0.8276, allocations: 1.269 MB / 0.8755 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.8302, allocations: 1.101 MB / 0.8766 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003942/0.8306, allocations: 128 kB / 0.8767 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005136/0.8357, allocations: 2.35 MB / 0.879 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008899/0.8367, allocations: 0.5105 MB / 0.8795 GB, free: 5.418 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/0.8385, allocations: 0.7469 MB / 0.8802 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006463/0.845, allocations: 2.801 MB / 0.883 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.845, allocations: 0 / 0.883 GB, free: 1.859 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.954e-06/0.845, allocations: 3.938 kB / 0.883 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.396e-05/0.8451, allocations: 4 kB / 0.883 GB, free: 1.852 MB / 0.6387 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.00507/0.8502, allocations: 1.769 MB / 0.8847 GB, free: 28 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8502, allocations: 12.03 kB / 0.8847 GB, free: 16 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002479/0.8527, allocations: 341.6 kB / 0.885 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.8544, allocations: 0.8778 MB / 0.8859 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-05/0.8544, allocations: 78.02 kB / 0.886 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.8546, allocations: 104 kB / 0.8861 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.8568, allocations: 1.195 MB / 0.8872 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.749e-05/0.8568, allocations: 0 / 0.8872 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.8569, allocations: 43.98 kB / 0.8873 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.857, allocations: 58.08 kB / 0.8873 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001914/0.8589, allocations: 1.242 MB / 0.8885 GB, free: 12 MB / 0.6544 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.006654/0.8656, allocations: 5.085 MB / 0.8935 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.8671, allocations: 1.151 MB / 0.8946 GB, free: 5.227 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007032/0.8678, allocations: 0.5089 MB / 0.8951 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.8678, allocations: 20.78 kB / 0.8951 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007185/0.8686, allocations: 480.2 kB / 0.8956 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 3.106e-06/0.8686, allocations: 0 / 0.8956 GB, free: 4.207 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.001897/0.8705, allocations: 1.161 MB / 0.8967 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.8705, allocations: 60.06 kB / 0.8968 GB, free: 2.969 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006867/0.8712, allocations: 0.5783 MB / 0.8973 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.8713, allocations: 41.7 kB / 0.8974 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002911/0.8716, allocations: 459.6 kB / 0.8978 GB, free: 1.875 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/0.8719, allocations: 272.1 kB / 0.8981 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/0.8721, allocations: 134.6 kB / 0.8982 GB, free: 1.469 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.8722, allocations: 382.8 kB / 0.8986 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.8727, allocations: 329.8 kB / 0.8989 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.8733, allocations: 458.5 kB / 0.8993 GB, free: 280 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.8744, allocations: 0.8273 MB / 0.9001 GB, free: 15.41 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.8744, allocations: 0 / 0.9001 GB, free: 15.41 MB / 0.67 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001442/0.8758, allocations: 0.9218 MB / 0.901 GB, free: 14.48 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.8759, allocations: 11.94 kB / 0.9011 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.8759, allocations: 0 / 0.9011 GB, free: 14.46 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.8759, allocations: 12.33 kB / 0.9011 GB, free: 14.45 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/0.8766, allocations: 159.8 kB / 0.9012 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/0.8767, allocations: 8 kB / 0.9012 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008303/0.8775, allocations: 62.17 kB / 0.9013 GB, free: 14.23 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.8776, allocations: 31.94 kB / 0.9013 GB, free: 14.2 MB / 0.67 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.0005154/0.8781, allocations: 325.6 kB / 0.9016 GB, free: 13.87 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.8783, allocations: 90.92 kB / 0.9017 GB, free: 13.78 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002745/0.8786, allocations: 111.8 kB / 0.9018 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.8786, allocations: 4 kB / 0.9018 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.8786, allocations: 8.875 kB / 0.9018 GB, free: 13.65 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001259/0.8799, allocations: 1.085 MB / 0.9029 GB, free: 12.48 MB / 0.67 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.003196/0.8831, allocations: 2.299 MB / 0.9051 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.8831, allocations: 4 kB / 0.9051 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000861/0.884, allocations: 175.9 kB / 0.9053 GB, free: 9.918 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/0.884, allocations: 4 kB / 0.9053 GB, free: 9.914 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.363e-05/0.8841, allocations: 20.48 kB / 0.9053 GB, free: 9.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.008e-05/0.8841, allocations: 7.938 kB / 0.9053 GB, free: 9.887 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8841, allocations: 0 / 0.9053 GB, free: 9.887 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001988/0.8861, allocations: 1.489 MB / 0.9068 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.8865, allocations: 244.1 kB / 0.907 GB, free: 8.121 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.8866, allocations: 16 kB / 0.907 GB, free: 8.105 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006767/0.8873, allocations: 29.78 kB / 0.9071 GB, free: 8.078 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.534e-05/0.8874, allocations: 44.59 kB / 0.9071 GB, free: 8.035 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/0.8875, allocations: 28.86 kB / 0.9071 GB, free: 8.008 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004981/0.888, allocations: 414.9 kB / 0.9075 GB, free: 7.609 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.888, allocations: 3.938 kB / 0.9075 GB, free: 7.605 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009511/0.8889, allocations: 367.1 kB / 0.9079 GB, free: 7.246 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (rooA.dynBal.U,rooA.dynBal.m,rooA.dynBal.mXi[1],rooB.dynBal.U,rooB.dynBal.m,rooB.dynBal.mXi[1]) * 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.0003359/0.8893, allocations: 182.1 kB / 0.9081 GB, free: 7.062 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.8905, allocations: 0.8025 MB / 0.9088 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8906, allocations: 0 / 0.9088 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005331/0.8911, allocations: 431.5 kB / 0.9093 GB, free: 5.836 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.8937, allocations: 0.5829 MB / 0.9098 GB, free: 5.273 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.8971, allocations: 2.22 MB / 0.912 GB, free: 3.016 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007273/0.8978, allocations: 1.143 MB / 0.9131 GB, free: 1.848 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002884/0.8981, allocations: 79.44 kB / 0.9132 GB, free: 1.77 MB / 0.67 GB Notification: Performance of SimCode: time 2.71e-07/0.8981, allocations: 0 / 0.9132 GB, free: 1.77 MB / 0.67 GB Notification: Performance of Templates: time 0.02397/0.9221, allocations: 16.06 MB / 0.9289 GB, free: 1.844 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.sim & ./IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)