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.001134/0.001134, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 61.61 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3912, allocations: 159.9 MB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004892/0.3961, allocations: 2.96 MB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1802/0.5763, allocations: 154.7 MB / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004865/0.5769, allocations: 0 / 1.222 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001895/0.5788, allocations: 0.5481 MB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.5811, allocations: 0.6803 MB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002085/0.5832, allocations: 0.642 MB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.5848, allocations: 1.338 MB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003521/0.5852, allocations: 186.5 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.5864, allocations: 0.4904 MB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.5883, allocations: 0.6304 MB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.5889, allocations: 96 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004095/0.593, allocations: 1.177 MB / 1.228 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007125/0.5937, allocations: 394.7 kB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.5955, allocations: 0.68 MB / 1.229 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006096/0.6016, allocations: 2.793 MB / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.6017, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6017, allocations: 0 / 1.232 GB, free: 2.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.858e-05/0.6018, allocations: 0 / 1.232 GB, free: 2.48 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.006975/0.6087, allocations: 2.071 MB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.6088, allocations: 12.03 kB / 1.234 GB, free: 344 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01649/0.6253, allocations: 1.774 MB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005736/0.6311, allocations: 1.444 MB / 1.237 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.875e-05/0.6312, allocations: 20 kB / 1.237 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003396/0.6316, allocations: 24 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007935/0.6395, allocations: 1.03 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6396, allocations: 0 / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.6397, allocations: 4 kB / 1.238 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.6398, allocations: 8 kB / 1.238 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01376/0.6535, allocations: 1.658 MB / 1.239 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01999/0.6736, allocations: 3.474 MB / 1.243 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01829/0.692, allocations: 1.774 MB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008736/0.7007, allocations: 0.8443 MB / 1.245 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.7022, allocations: 0.5259 MB / 1.246 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009261/0.7115, allocations: 0.9646 MB / 1.247 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=23): time 8.346e-06/0.7116, allocations: 4 kB / 1.247 GB, free: 2.414 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.6726/1.384, allocations: 2.71 MB / 1.249 GB, free: 183.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/1.384, allocations: 111.6 kB / 1.25 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003906/1.388, allocations: 2.484 MB / 1.252 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000173/1.388, allocations: 35.58 kB / 1.252 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005238/1.389, allocations: 0.5919 MB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.389, allocations: 67 kB / 1.253 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.389, allocations: 125.3 kB / 1.253 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.498e-05/1.389, allocations: 327.6 kB / 1.253 GB, free: 183 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005332/1.395, allocations: 0.9797 MB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005045/1.4, allocations: 1.015 MB / 1.255 GB, free: 183 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009605/1.41, allocations: 1.668 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.41, allocations: 5.875 kB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01259/1.422, allocations: 2.531 MB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/1.422, allocations: 40.09 kB / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/1.422, allocations: 0 / 1.259 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/1.426, allocations: 0.7994 MB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003192/1.429, allocations: 400.4 kB / 1.26 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007844/1.437, allocations: 7.951 MB / 1.268 GB, free: 176.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/1.44, allocations: 366.3 kB / 1.268 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.44, allocations: 33.88 kB / 1.268 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006034/1.447, allocations: 1.487 MB / 1.27 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005073/1.452, allocations: 0.9976 MB / 1.271 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009407/1.461, allocations: 1.652 MB / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.829e-06/1.461, allocations: 0 / 1.273 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01163/1.473, allocations: 2.351 MB / 1.275 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.387e-05/1.473, allocations: 43.31 kB / 1.275 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/1.473, allocations: 4 kB / 1.275 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/1.475, allocations: 0.6152 MB / 1.275 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.478, allocations: 407.3 kB / 1.276 GB, free: 174.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004675/1.483, allocations: 6.629 MB / 1.282 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003642/1.487, allocations: 354 kB / 1.283 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.487, allocations: 34.56 kB / 1.283 GB, free: 167.7 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.0003129/1.487, allocations: 235.3 kB / 1.283 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.487, allocations: 146.7 kB / 1.283 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/1.497, allocations: 1.95 MB / 1.285 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/1.497, allocations: 5.328 kB / 1.285 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/1.497, allocations: 0 / 1.285 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.498, allocations: 5.609 kB / 1.285 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/1.499, allocations: 1.262 MB / 1.286 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/1.499, allocations: 0 / 1.286 GB, free: 165.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.502, allocations: 346.8 kB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/1.502, allocations: 0 / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.616e-05/1.502, allocations: 20.44 kB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.502, allocations: 0.9375 kB / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.502, allocations: 0 / 1.287 GB, free: 165.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009831/1.512, allocations: 1.865 MB / 1.288 GB, free: 164.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/1.513, allocations: 423.5 kB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/1.513, allocations: 7.531 kB / 1.289 GB, free: 163.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00282/1.516, allocations: 293.1 kB / 1.289 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/1.516, allocations: 29.58 kB / 1.289 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/1.516, allocations: 25.23 kB / 1.289 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002855/1.519, allocations: 1.774 MB / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.71e-07/1.519, allocations: 0 / 1.291 GB, free: 162.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001777/1.521, allocations: 0.5476 MB / 1.291 GB, free: 162.8 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.0004936/1.521, allocations: 240.4 kB / 1.292 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01692/1.538, allocations: 4.393 MB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/1.538, allocations: 4 kB / 1.296 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.543, allocations: 0.9453 MB / 1.297 GB, free: 159.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/1.545, allocations: 388.6 kB / 1.297 GB, free: 159.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/1.565, allocations: 4.466 MB / 1.302 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007994/1.566, allocations: 1.421 MB / 1.303 GB, free: 155.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00187/1.568, allocations: 448.2 kB / 1.303 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004019/1.568, allocations: 89.88 kB / 1.303 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of SimCode: time 8.11e-07/1.568, allocations: 0 / 1.303 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.03631/1.605, allocations: 29.14 MB / 1.332 GB, free: 128 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)