Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001616/0.001616, allocations: 193 kB / 16.13 MB, free: 6.652 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.443/1.443, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 0.5484 GB, free: 13.65 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 73.11 kB / 0.6708 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2141, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003345/0.2175, allocations: 2.403 MB / 0.785 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002383/0.2199, allocations: 1.863 MB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.22, allocations: 4 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006016/0.2207, allocations: 219.2 kB / 0.7871 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.2208, allocations: 51.55 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008655/0.2216, allocations: 379.1 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003587/0.222, allocations: 382.8 kB / 0.7878 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.2221, allocations: 48.36 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.2222, allocations: 143.5 kB / 0.788 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.2224, allocations: 147.5 kB / 0.7882 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.139e-05/0.2225, allocations: 20 kB / 0.7882 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003351/0.2228, allocations: 223.7 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2229, allocations: 119.7 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.2231, allocations: 163.1 kB / 0.7887 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005903/0.2237, allocations: 0.5842 MB / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2237, allocations: 0 / 0.7892 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2237, allocations: 7.938 kB / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.2237, allocations: 0 / 0.7892 GB, free: 7.215 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001079/0.2248, allocations: 0.7061 MB / 0.7899 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2249, allocations: 8.031 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.2265, allocations: 156.4 kB / 0.7901 GB, free: 6.293 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.227, allocations: 370.3 kB / 0.7904 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.903e-05/0.2271, allocations: 83.84 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.2271, allocations: 11.94 kB / 0.7905 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009722/0.2281, allocations: 433.3 kB / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2281, allocations: 0 / 0.791 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.2282, allocations: 8 kB / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2282, allocations: 0 / 0.791 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.2296, allocations: 0.5854 MB / 0.7915 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001782/0.2314, allocations: 1.039 MB / 0.7925 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/0.2365, allocations: 0.8494 MB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007559/0.2373, allocations: 312.6 kB / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.2373, allocations: 0 / 0.7937 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009793/0.2383, allocations: 445.6 kB / 0.7941 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.2383, allocations: 4 kB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002437/0.2408, allocations: 0.9185 MB / 0.795 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.2408, allocations: 63.33 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004537/0.2413, allocations: 429.6 kB / 0.7955 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.588e-05/0.2413, allocations: 37.69 kB / 0.7955 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2415, allocations: 172 kB / 0.7957 GB, free: 420 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/0.2415, allocations: 47.3 kB / 0.7957 GB, free: 372 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2417, allocations: 57.67 kB / 0.7958 GB, free: 308 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.2418, allocations: 346.8 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/0.2426, allocations: 380.6 kB / 0.7965 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000795/0.2434, allocations: 374.1 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2448, allocations: 0.5958 MB / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2448, allocations: 0 / 0.7974 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001822/0.2466, allocations: 0.9192 MB / 0.7983 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.066e-05/0.2467, allocations: 41.69 kB / 0.7983 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2467, allocations: 0 / 0.7983 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2467, allocations: 0 / 0.7983 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000449/0.2472, allocations: 63.92 kB / 0.7984 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/0.2472, allocations: 7.922 kB / 0.7984 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/0.2477, allocations: 47.86 kB / 0.7985 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.2477, allocations: 11.98 kB / 0.7985 GB, free: 13.5 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 0.0002488/0.248, allocations: 189.7 kB / 0.7986 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.248, allocations: 31.62 kB / 0.7987 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/0.2481, allocations: 43.47 kB / 0.7987 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.2481, allocations: 11.94 kB / 0.7987 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.2482, allocations: 7.922 kB / 0.7987 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2482, allocations: 0 / 0.7987 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.2487, allocations: 0.5515 MB / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2487, allocations: 0 / 0.7993 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004435/0.2492, allocations: 67.92 kB / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2492, allocations: 0 / 0.7993 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.2492, allocations: 7.984 kB / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.2492, allocations: 0 / 0.7993 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2492, allocations: 3.938 kB / 0.7994 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.2508, allocations: 0.6593 MB / 0.8 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/0.251, allocations: 164.7 kB / 0.8002 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/0.251, allocations: 4 kB / 0.8002 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/0.2515, allocations: 47.94 kB / 0.8002 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/0.2516, allocations: 23.91 kB / 0.8002 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.153e-05/0.2516, allocations: 11.98 kB / 0.8002 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00032/0.2519, allocations: 315.1 kB / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2519, allocations: 0 / 0.8005 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003681/0.2523, allocations: 92.14 kB / 0.8006 GB, free: 11.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003911/0.2527, allocations: 153.5 kB / 0.8008 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.2543, allocations: 0.7567 MB / 0.8015 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2544, allocations: 0 / 0.8015 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0007645/0.2551, allocations: 327.7 kB / 0.8018 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.2556, allocations: 79.61 kB / 0.8019 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2573, allocations: 0.8911 MB / 0.8028 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.2576, allocations: 0.8107 MB / 0.8036 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004613/0.2581, allocations: 98.25 kB / 0.8037 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001416/0.2582, allocations: 35.41 kB / 0.8037 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2583, allocations: 0 / 0.8037 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of Templates: time 0.01101/0.2693, allocations: 6.752 MB / 0.8103 GB, free: 1.352 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)