Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.745/2.745, allocations: 287.3 MB / 302.3 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001533, allocations: 184.2 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00194/0.00194, allocations: 93.84 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006536/0.0006538, allocations: 14.08 kB / 0.8656 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2211, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.00283/0.224, allocations: 1.914 MB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003116/0.2272, allocations: 1.612 MB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.2275, allocations: 8 kB / 0.9817 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000964/0.2285, allocations: 207.2 kB / 0.9819 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.2287, allocations: 71.77 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/0.2302, allocations: 373.9 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.2308, allocations: 255.5 kB / 0.9825 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2309, allocations: 40.38 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2311, allocations: 127.7 kB / 0.9827 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002206/0.2314, allocations: 151.5 kB / 0.9828 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.945e-05/0.2315, allocations: 16 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005413/0.232, allocations: 211.6 kB / 0.9831 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.2322, allocations: 99.75 kB / 0.9831 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.2323, allocations: 85.52 kB / 0.9832 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006341/0.2329, allocations: 455.1 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.233, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.124e-06/0.233, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.233, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 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.001444/0.2344, allocations: 0.6516 MB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.2345, allocations: 15.95 kB / 0.9843 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00281/0.2373, allocations: 175.4 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.2382, allocations: 353.2 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2383, allocations: 75.38 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.747e-05/0.2384, allocations: 12 kB / 0.9849 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.2401, allocations: 455.3 kB / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2401, allocations: 0 / 0.9853 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.2402, allocations: 4 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.2402, allocations: 7.891 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.2429, allocations: 0.6245 MB / 0.986 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002816/0.2457, allocations: 1.051 MB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008738/0.2546, allocations: 0.9081 MB / 0.9879 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/0.2547, allocations: 8 kB / 0.9879 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/0.2564, allocations: 459 kB / 0.9883 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 4.027e-06/0.2564, allocations: 7.938 kB / 0.9883 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.004201/0.2606, allocations: 0.9772 MB / 0.9893 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.2607, allocations: 55.41 kB / 0.9893 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.2614, allocations: 429.6 kB / 0.9897 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001141/0.2615, allocations: 29.7 kB / 0.9898 GB, free: 16.31 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.2617, allocations: 184 kB / 0.9899 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2618, allocations: 47.3 kB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.43e-05/0.2619, allocations: 4 kB / 0.99 GB, free: 16.08 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.453e-05/0.262, allocations: 346.8 kB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001456/0.2635, allocations: 400.6 kB / 0.9907 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.2649, allocations: 395.7 kB / 0.9911 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/0.2663, allocations: 383.3 kB / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2664, allocations: 0 / 0.9914 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003243/0.2696, allocations: 0.9476 MB / 0.9924 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.645e-05/0.2697, allocations: 41.69 kB / 0.9924 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2698, allocations: 0 / 0.9924 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.2698, allocations: 0 / 0.9924 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.2706, allocations: 75.92 kB / 0.9925 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2707, allocations: 0 / 0.9925 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.2714, allocations: 55.88 kB / 0.9925 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-05/0.2715, allocations: 19.92 kB / 0.9926 GB, free: 13.41 MB / 0.6198 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000347/0.2719, allocations: 189.7 kB / 0.9927 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.272, allocations: 39.52 kB / 0.9928 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.269e-05/0.2721, allocations: 35.47 kB / 0.9928 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.2721, allocations: 4 kB / 0.9928 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.2721, allocations: 0 / 0.9928 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2721, allocations: 4 kB / 0.9928 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.2728, allocations: 0.5515 MB / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.2729, allocations: 0 / 0.9934 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008234/0.2737, allocations: 79.86 kB / 0.9934 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.2737, allocations: 0 / 0.9934 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.2738, allocations: 7.984 kB / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.2738, allocations: 3.938 kB / 0.9934 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2738, allocations: 8 kB / 0.9935 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/0.2766, allocations: 0.7007 MB / 0.9941 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.277, allocations: 160.7 kB / 0.9943 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.2771, allocations: 11.94 kB / 0.9943 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008186/0.2779, allocations: 59.94 kB / 0.9944 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.2781, allocations: 19.97 kB / 0.9944 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.091e-05/0.2781, allocations: 11.98 kB / 0.9944 GB, free: 11.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004825/0.2786, allocations: 315.1 kB / 0.9947 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.51e-07/0.2786, allocations: 0 / 0.9947 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005648/0.2792, allocations: 88.23 kB / 0.9948 GB, free: 11.04 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005061/0.2797, allocations: 149.1 kB / 0.9949 GB, free: 10.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003032/0.2828, allocations: 0.7958 MB / 0.9957 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/0.2828, allocations: 4 kB / 0.9957 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.2842, allocations: 349.8 kB / 0.996 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.2849, allocations: 77.39 kB / 0.9961 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.2874, allocations: 0.8797 MB / 0.997 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2878, allocations: 0.8146 MB / 0.9978 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007616/0.2886, allocations: 106.2 kB / 0.9979 GB, free: 7.824 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.2888, allocations: 35.41 kB / 0.9979 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of SimCode: time 1.113e-06/0.2888, allocations: 0 / 0.9979 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of Templates: time 0.0172/0.306, allocations: 6.471 MB / 1.004 GB, free: 1.402 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)