Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow") translateModel(Annex60.Airflow.Multizone.Examples.ZonalFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.003858/0.003858, allocations: 99.72 kB / 15.73 MB, free: 6.496 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.0009735/0.0009735, allocations: 204.4 kB / 16.68 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.195/1.195, allocations: 205.1 MB / 222.6 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3382/0.3382, allocations: 54.95 MB / 324.9 MB, free: 32 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 70.94 kB / 456.3 MB, free: 38.21 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09351/0.09489, allocations: 59.59 MB / 0.5037 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.4213/0.5162, allocations: 191.8 MB / 0.6911 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006343/0.5226, allocations: 5.651 MB / 0.6966 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000771/0.5234, allocations: 29.59 kB / 0.6966 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.5246, allocations: 0.5838 MB / 0.6972 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003617/0.5282, allocations: 2.114 MB / 0.6992 GB, free: 15.41 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.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.001286/0.5295, allocations: 0.7295 MB / 0.7 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002214/0.5317, allocations: 2.617 MB / 0.7025 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007491/0.5325, allocations: 0.7671 MB / 0.7033 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001058/0.5336, allocations: 0.9259 MB / 0.7042 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001236/0.5348, allocations: 0.8142 MB / 0.705 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001248/0.5349, allocations: 96.75 kB / 0.7051 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.5377, allocations: 1.84 MB / 0.7069 GB, free: 15 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003319/0.5381, allocations: 409.2 kB / 0.7072 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004805/0.5386, allocations: 0.5624 MB / 0.7078 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.541, allocations: 2.122 MB / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.541, allocations: 3.984 kB / 0.7099 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 9.21e-07/0.541, allocations: 3.938 kB / 0.7099 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.541, allocations: 0 / 0.7099 GB, free: 13.39 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.002465/0.5435, allocations: 1.454 MB / 0.7113 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.911e-05/0.5435, allocations: 13.81 kB / 0.7113 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.5454, allocations: 315.5 kB / 0.7116 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009438/0.5464, allocations: 0.7529 MB / 0.7123 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.903e-05/0.5464, allocations: 53.52 kB / 0.7124 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.812e-05/0.5465, allocations: 71.34 kB / 0.7125 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5476, allocations: 0.8071 MB / 0.7132 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.5476, allocations: 0 / 0.7132 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.5477, allocations: 31.84 kB / 0.7133 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.141e-05/0.5478, allocations: 46.33 kB / 0.7133 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.5488, allocations: 0.7946 MB / 0.7141 GB, free: 10.64 MB / 0.5137 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.003748/0.5526, allocations: 3.652 MB / 0.7177 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007499/0.5533, allocations: 0.715 MB / 0.7184 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.5538, allocations: 350.1 kB / 0.7187 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.5538, allocations: 12.33 kB / 0.7187 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004673/0.5543, allocations: 370.2 kB / 0.7191 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 1.693e-06/0.5543, allocations: 0 / 0.7191 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.001196/0.5555, allocations: 0.8261 MB / 0.7199 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.5555, allocations: 60.5 kB / 0.7199 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.556, allocations: 0.4895 MB / 0.7204 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.5561, allocations: 37.48 kB / 0.7204 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002117/0.5563, allocations: 371.4 kB / 0.7208 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.5565, allocations: 220.4 kB / 0.721 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.5566, allocations: 107.2 kB / 0.7211 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5567, allocations: 369.9 kB / 0.7215 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003118/0.5571, allocations: 224.4 kB / 0.7217 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.5574, allocations: 344.1 kB / 0.722 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/0.5581, allocations: 0.5834 MB / 0.7226 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5582, allocations: 0 / 0.7226 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008219/0.559, allocations: 0.6765 MB / 0.7232 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.559, allocations: 7.562 kB / 0.7232 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.559, allocations: 6.688 kB / 0.7232 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.559, allocations: 4.844 kB / 0.7232 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004276/0.5595, allocations: 131.1 kB / 0.7234 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5595, allocations: 4.312 kB / 0.7234 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004975/0.56, allocations: 46.44 kB / 0.7234 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.56, allocations: 18.84 kB / 0.7234 GB, free: 3.707 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (71): * Single equations (assignments): 71 * 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.0002737/0.5603, allocations: 278.9 kB / 0.7237 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.725e-05/0.5604, allocations: 66.91 kB / 0.7238 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001551/0.5606, allocations: 88.22 kB / 0.7239 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/0.5606, allocations: 9.25 kB / 0.7239 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5606, allocations: 3.938 kB / 0.7239 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007327/0.5613, allocations: 0.709 MB / 0.7246 GB, free: 2.695 MB / 0.5137 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.001956/0.5633, allocations: 1.75 MB / 0.7263 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5633, allocations: 0 / 0.7263 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.5639, allocations: 152.8 kB / 0.7264 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.5639, allocations: 0 / 0.7264 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.564, allocations: 16 kB / 0.7264 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.564, allocations: 0 / 0.7264 GB, free: 0.7148 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.564, allocations: 3.984 kB / 0.7264 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.5653, allocations: 1.079 MB / 0.7275 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.5655, allocations: 224.5 kB / 0.7277 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.5656, allocations: 12.12 kB / 0.7277 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004997/0.5661, allocations: 23.98 kB / 0.7277 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.5662, allocations: 32.52 kB / 0.7278 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.5662, allocations: 19.98 kB / 0.7278 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003458/0.5666, allocations: 350.8 kB / 0.7281 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5666, allocations: 0 / 0.7281 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006101/0.5672, allocations: 287.5 kB / 0.7284 GB, free: 14.67 MB / 0.5294 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 (58): * Single equations (assignments): 58 * 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.0002058/0.5674, allocations: 166.1 kB / 0.7286 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007391/0.5682, allocations: 0.5619 MB / 0.7291 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5682, allocations: 3.938 kB / 0.7291 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003591/0.5685, allocations: 299.1 kB / 0.7294 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001859/0.5704, allocations: 489.5 kB / 0.7299 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.5727, allocations: 1.735 MB / 0.7316 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.5732, allocations: 1.021 MB / 0.7325 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005486/0.5738, allocations: 197.6 kB / 0.7327 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.5739, allocations: 59.44 kB / 0.7328 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.01e-07/0.5739, allocations: 0 / 0.7328 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.02252/0.5965, allocations: 15.47 MB / 0.7479 GB, free: 10.75 MB / 0.545 GB make -j1 -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.makefile (rm -f Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; mkfifo Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe >> ../files/Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.sim & ./Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Airflow.Multizone.Examples.ZonalFlow.pipe 2>&1)