Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 99 kB / 15.05 MB, free: 1.105 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.0009047/0.0009047, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.557/1.557, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005344/0.0005345, allocations: 20.44 kB / 0.6736 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2226, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002875/0.2255, allocations: 2.358 MB / 0.7894 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002777/0.2283, allocations: 1.955 MB / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.2285, allocations: 0 / 0.7913 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.2293, allocations: 251.1 kB / 0.7916 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.2295, allocations: 79.77 kB / 0.7917 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.2305, allocations: 417.7 kB / 0.7921 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.231, allocations: 331.3 kB / 0.7924 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.2311, allocations: 56.66 kB / 0.7924 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2314, allocations: 163.6 kB / 0.7926 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.2316, allocations: 195.3 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.017e-05/0.2317, allocations: 27.94 kB / 0.7928 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003653/0.2321, allocations: 207.8 kB / 0.793 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.2323, allocations: 147.6 kB / 0.7931 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.2324, allocations: 89.52 kB / 0.7932 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.233, allocations: 0.5692 MB / 0.7938 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.233, allocations: 3.938 kB / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.233, allocations: 0 / 0.7938 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.233, allocations: 0 / 0.7938 GB, free: 5.109 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00128/0.2343, allocations: 0.7739 MB / 0.7945 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.2343, allocations: 8.031 kB / 0.7945 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.2363, allocations: 247.1 kB / 0.7948 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.237, allocations: 413 kB / 0.7952 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.2372, allocations: 83.39 kB / 0.7952 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.766e-05/0.2372, allocations: 12 kB / 0.7953 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.2385, allocations: 0.5558 MB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2385, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.2385, allocations: 8 kB / 0.7958 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2385, allocations: 0 / 0.7958 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.2405, allocations: 0.8196 MB / 0.7966 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002244/0.2427, allocations: 1.284 MB / 0.7979 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005013/0.2478, allocations: 1.088 MB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.2478, allocations: 4 kB / 0.7989 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/0.249, allocations: 0.5497 MB / 0.7995 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 1.883e-06/0.249, allocations: 0 / 0.7995 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.003031/0.2521, allocations: 1.271 MB / 0.8007 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.2521, allocations: 59.34 kB / 0.8008 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005921/0.2527, allocations: 0.51 MB / 0.8013 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.444e-05/0.2528, allocations: 33.7 kB / 0.8013 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.253, allocations: 204.4 kB / 0.8015 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.2531, allocations: 71.08 kB / 0.8016 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-05/0.2531, allocations: 8 kB / 0.8016 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2532, allocations: 358.8 kB / 0.8019 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.2543, allocations: 492.5 kB / 0.8024 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.2554, allocations: 0.517 MB / 0.8029 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009879/0.2564, allocations: 465.4 kB / 0.8033 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2564, allocations: 0 / 0.8033 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002317/0.2587, allocations: 1.141 MB / 0.8044 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.532e-05/0.2588, allocations: 45.62 kB / 0.8045 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2588, allocations: 0 / 0.8045 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2588, allocations: 7.938 kB / 0.8045 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005706/0.2594, allocations: 107.9 kB / 0.8046 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2594, allocations: 3.938 kB / 0.8046 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.2599, allocations: 75.78 kB / 0.8047 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.26, allocations: 15.97 kB / 0.8047 GB, free: 9.668 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 ($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 (22): * Single equations (assignments): 21 * 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.0003276/0.2603, allocations: 217.7 kB / 0.8049 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2604, allocations: 47.42 kB / 0.8049 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.2605, allocations: 51.92 kB / 0.805 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2605, allocations: 4 kB / 0.805 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2605, allocations: 3.984 kB / 0.805 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2605, allocations: 0 / 0.805 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000715/0.2612, allocations: 0.6455 MB / 0.8056 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2613, allocations: 0 / 0.8056 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005722/0.2618, allocations: 99.89 kB / 0.8057 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.2619, allocations: 0 / 0.8057 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.2619, allocations: 11.98 kB / 0.8057 GB, free: 8.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2619, allocations: 3.938 kB / 0.8057 GB, free: 8.527 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2619, allocations: 4 kB / 0.8057 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002073/0.264, allocations: 0.8828 MB / 0.8066 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.2643, allocations: 192.4 kB / 0.8068 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.984e-05/0.2644, allocations: 15.98 kB / 0.8068 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005441/0.2649, allocations: 83.92 kB / 0.8069 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-05/0.265, allocations: 23.95 kB / 0.8069 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.2651, allocations: 15.98 kB / 0.8069 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004964/0.2656, allocations: 383.1 kB / 0.8073 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2656, allocations: 0 / 0.8073 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004884/0.2661, allocations: 100 kB / 0.8074 GB, free: 6.809 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 (21): * Single equations (assignments): 19 * 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.0005246/0.2666, allocations: 163.8 kB / 0.8075 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.2691, allocations: 0.9897 MB / 0.8085 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.179e-06/0.2691, allocations: 4 kB / 0.8085 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/0.2702, allocations: 451.6 kB / 0.8089 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.2706, allocations: 93.8 kB / 0.809 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.2731, allocations: 1.128 MB / 0.8101 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005564/0.2737, allocations: 0.8661 MB / 0.811 GB, free: 3.062 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000531/0.2742, allocations: 126.9 kB / 0.8111 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.2744, allocations: 43.41 kB / 0.8111 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.2744, allocations: 0 / 0.8111 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of Templates: time 0.01344/0.2879, allocations: 7.944 MB / 0.8189 GB, free: 11.07 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) Environment - environmentSimulation: