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.003689/0.003689, allocations: 102 kB / 15.73 MB, free: 6.035 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.001018/0.001018, allocations: 187.9 kB / 16.67 MB, free: 5.969 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.177/1.177, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3398/0.3398, allocations: 54.94 MB / 324.8 MB, free: 40 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.001329/0.001329, allocations: 68.33 kB / 456.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08924, allocations: 59.59 MB / 0.5038 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Airflow.Multizone.Examples.ZonalFlow): time 0.4019/0.4912, allocations: 191.8 MB / 0.6911 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00713/0.4984, allocations: 5.65 MB / 0.6966 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.4998, allocations: 29.09 kB / 0.6966 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.5015, allocations: 0.6062 MB / 0.6972 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.5064, allocations: 2.194 MB / 0.6993 GB, free: 15.44 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.00168/0.5081, allocations: 0.7301 MB / 0.7001 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002788/0.5109, allocations: 2.631 MB / 0.7026 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.5119, allocations: 0.7662 MB / 0.7034 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.5135, allocations: 0.9542 MB / 0.7043 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001797/0.5154, allocations: 0.8136 MB / 0.7051 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002926/0.5157, allocations: 97.28 kB / 0.7052 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.5188, allocations: 1.848 MB / 0.707 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.5192, allocations: 401.7 kB / 0.7074 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.5198, allocations: 0.5655 MB / 0.7079 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002389/0.5222, allocations: 2.118 MB / 0.71 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5222, allocations: 3.984 kB / 0.71 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5223, allocations: 0 / 0.71 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.5223, allocations: 0 / 0.71 GB, free: 13.3 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.00255/0.5248, allocations: 1.426 MB / 0.7114 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.5249, allocations: 10.78 kB / 0.7114 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/0.5268, allocations: 317.1 kB / 0.7117 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5278, allocations: 0.7406 MB / 0.7124 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.5278, allocations: 52.22 kB / 0.7125 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.5279, allocations: 71.97 kB / 0.7126 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.5291, allocations: 0.8073 MB / 0.7133 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.5291, allocations: 3.906 kB / 0.7133 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.5292, allocations: 35.75 kB / 0.7134 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.5292, allocations: 38.89 kB / 0.7134 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.5303, allocations: 0.8019 MB / 0.7142 GB, free: 10.59 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.003806/0.5341, allocations: 3.645 MB / 0.7178 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.5349, allocations: 0.711 MB / 0.7185 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004345/0.5353, allocations: 350.1 kB / 0.7188 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.5353, allocations: 12.52 kB / 0.7188 GB, free: 6.801 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004709/0.5358, allocations: 372.8 kB / 0.7192 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=58): time 2.003e-06/0.5358, allocations: 0 / 0.7192 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=58): time 0.0012/0.537, allocations: 0.8171 MB / 0.72 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.5371, allocations: 61.06 kB / 0.72 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004497/0.5375, allocations: 0.4959 MB / 0.7205 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.633e-05/0.5376, allocations: 37.2 kB / 0.7205 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002005/0.5378, allocations: 367.5 kB / 0.7209 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001446/0.5379, allocations: 204.4 kB / 0.7211 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.5381, allocations: 107.2 kB / 0.7212 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.5382, allocations: 369 kB / 0.7215 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.5385, allocations: 223.9 kB / 0.7217 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003848/0.5389, allocations: 340.3 kB / 0.7221 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/0.5396, allocations: 0.5877 MB / 0.7226 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5396, allocations: 0 / 0.7226 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008246/0.5404, allocations: 0.68 MB / 0.7233 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.5405, allocations: 7.281 kB / 0.7233 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.5405, allocations: 6.75 kB / 0.7233 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5405, allocations: 4.719 kB / 0.7233 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004499/0.541, allocations: 123.2 kB / 0.7234 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.541, allocations: 9.641 kB / 0.7234 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/0.5415, allocations: 42.31 kB / 0.7235 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.5416, allocations: 18.75 kB / 0.7235 GB, free: 3.68 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.0002874/0.5418, allocations: 274.9 kB / 0.7238 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.064e-05/0.5419, allocations: 70.53 kB / 0.7238 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.5421, allocations: 81.28 kB / 0.7239 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.5421, allocations: 11.38 kB / 0.7239 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.5421, allocations: 0 / 0.7239 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000752/0.5429, allocations: 0.7104 MB / 0.7246 GB, free: 2.621 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.002009/0.5449, allocations: 1.746 MB / 0.7263 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5449, allocations: 0 / 0.7263 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006401/0.5456, allocations: 151.8 kB / 0.7265 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5456, allocations: 0 / 0.7265 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.5456, allocations: 13 kB / 0.7265 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5456, allocations: 4 kB / 0.7265 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.5456, allocations: 3.984 kB / 0.7265 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.5469, allocations: 1.071 MB / 0.7275 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.5472, allocations: 228.2 kB / 0.7278 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.084e-05/0.5473, allocations: 12 kB / 0.7278 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005194/0.5478, allocations: 20.11 kB / 0.7278 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.5479, allocations: 36.45 kB / 0.7278 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.932e-05/0.5479, allocations: 23.98 kB / 0.7278 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003527/0.5483, allocations: 354.8 kB / 0.7282 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5483, allocations: 0 / 0.7282 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00064/0.5489, allocations: 283.3 kB / 0.7284 GB, free: 14.6 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.0002117/0.5491, allocations: 169.9 kB / 0.7286 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007465/0.5499, allocations: 0.5619 MB / 0.7292 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5499, allocations: 0 / 0.7292 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003464/0.5502, allocations: 299.1 kB / 0.7294 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.5521, allocations: 482.4 kB / 0.7299 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.5543, allocations: 1.712 MB / 0.7316 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.5548, allocations: 1.025 MB / 0.7326 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005332/0.5553, allocations: 197.6 kB / 0.7328 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.5555, allocations: 55.44 kB / 0.7328 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.5555, allocations: 0 / 0.7328 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.02183/0.5773, allocations: 15.47 MB / 0.7479 GB, free: 10.72 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)