Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.001409, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001549/0.001549, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.456/1.456, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.007/3.007, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002523/0.002523, allocations: 64.42 kB / 0.9114 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.389, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004393/0.3934, allocations: 2.994 MB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1922/0.5857, allocations: 152.4 MB / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000395/0.5861, allocations: 0 / 1.219 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.5881, allocations: 0.5367 MB / 1.22 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.5901, allocations: 0.6068 MB / 1.22 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.5921, allocations: 0.5606 MB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.5937, allocations: 1.293 MB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000305/0.594, allocations: 186.5 kB / 1.222 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000492/0.5945, allocations: 438.1 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/0.5954, allocations: 0.5914 MB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.5955, allocations: 64 kB / 1.223 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.5982, allocations: 1.247 MB / 1.225 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/0.5986, allocations: 358.7 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000699/0.5993, allocations: 0.6409 MB / 1.226 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.603, allocations: 2.773 MB / 1.228 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.603, allocations: 4 kB / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.863e-06/0.603, allocations: 0 / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.43e-05/0.6031, allocations: 0 / 1.228 GB, free: 5.566 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004312/0.6074, allocations: 2.084 MB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6074, allocations: 8.031 kB / 1.23 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01596/0.6234, allocations: 1.77 MB / 1.232 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.627, allocations: 1.441 MB / 1.234 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.785e-05/0.6271, allocations: 16 kB / 1.234 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.6272, allocations: 20 kB / 1.234 GB, free: 116 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005218/0.6324, allocations: 1.022 MB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6324, allocations: 0 / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-05/0.6325, allocations: 4 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.6325, allocations: 4 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009024/0.6416, allocations: 1.658 MB / 1.236 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/0.6531, allocations: 3.489 MB / 1.24 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009731/0.6628, allocations: 1.774 MB / 1.241 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/0.6676, allocations: 0.8434 MB / 1.242 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008911/0.6685, allocations: 0.522 MB / 1.243 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005116/0.6737, allocations: 0.97 MB / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 6.592e-06/0.6737, allocations: 0 / 1.244 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.01561/0.6893, allocations: 2.717 MB / 1.246 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.6895, allocations: 106.8 kB / 1.246 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006065/0.6956, allocations: 2.484 MB / 1.249 GB, free: 156 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002524/0.6959, allocations: 29.7 kB / 1.249 GB, free: 120 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.6772/1.373, allocations: 0.5867 MB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/1.373, allocations: 63.33 kB / 1.249 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/1.374, allocations: 121.9 kB / 1.25 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.807e-05/1.374, allocations: 323.4 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005517/1.379, allocations: 0.9814 MB / 1.251 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007363/1.387, allocations: 1.021 MB / 1.252 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/1.4, allocations: 1.668 MB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.148e-05/1.4, allocations: 0.9062 kB / 1.253 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.02183/1.422, allocations: 2.536 MB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/1.422, allocations: 34.62 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.422, allocations: 0.7969 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006456/1.428, allocations: 0.8045 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005654/1.434, allocations: 402.2 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.448, allocations: 7.429 MB / 1.264 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/1.454, allocations: 359.3 kB / 1.265 GB, free: 178 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/1.454, allocations: 35.5 kB / 1.265 GB, free: 178 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01067/1.465, allocations: 1.49 MB / 1.266 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.009352/1.474, allocations: 0.99 MB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01539/1.49, allocations: 1.656 MB / 1.269 GB, free: 177 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.284e-06/1.49, allocations: 3.281 kB / 1.269 GB, free: 177 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01279/1.503, allocations: 2.357 MB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/1.503, allocations: 36.05 kB / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.503, allocations: 0 / 1.271 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002429/1.505, allocations: 0.6257 MB / 1.272 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003154/1.508, allocations: 399.1 kB / 1.272 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/1.513, allocations: 6.17 MB / 1.278 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/1.516, allocations: 355.7 kB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.517, allocations: 33.97 kB / 1.279 GB, free: 170.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003108/1.517, allocations: 247.1 kB / 1.279 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005864/1.518, allocations: 142.6 kB / 1.279 GB, free: 170.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009874/1.527, allocations: 1.943 MB / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.527, allocations: 2.094 kB / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/1.527, allocations: 0 / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.527, allocations: 1.312 kB / 1.281 GB, free: 169.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.529, allocations: 1.252 MB / 1.282 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/1.529, allocations: 1.375 kB / 1.282 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002673/1.532, allocations: 354.1 kB / 1.282 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.532, allocations: 0.7031 kB / 1.282 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-05/1.532, allocations: 20.19 kB / 1.282 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/1.532, allocations: 5.016 kB / 1.282 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/1.532, allocations: 4 kB / 1.282 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009778/1.542, allocations: 1.861 MB / 1.284 GB, free: 167 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.543, allocations: 426.1 kB / 1.285 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/1.544, allocations: 10.59 kB / 1.285 GB, free: 166.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003077/1.547, allocations: 299.7 kB / 1.285 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/1.547, allocations: 21.59 kB / 1.285 GB, free: 166.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/1.547, allocations: 28.62 kB / 1.285 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003569/1.551, allocations: 1.773 MB / 1.287 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.9e-07/1.551, allocations: 0 / 1.287 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002446/1.553, allocations: 0.5542 MB / 1.287 GB, free: 165.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0006309/1.554, allocations: 228.8 kB / 1.287 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01675/1.57, allocations: 4.372 MB / 1.292 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/1.57, allocations: 0 / 1.292 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004454/1.575, allocations: 0.9486 MB / 1.293 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.577, allocations: 357.8 kB / 1.293 GB, free: 162 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.598, allocations: 4.745 MB / 1.298 GB, free: 159.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.599, allocations: 1.419 MB / 1.299 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002127/1.601, allocations: 446.8 kB / 1.299 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006106/1.602, allocations: 91.58 kB / 1.3 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.062e-06/1.602, allocations: 0 / 1.3 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.03773/1.64, allocations: 27.95 MB / 1.327 GB, free: 133 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)