Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001244/0.001244, allocations: 178 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000855/0.000855, allocations: 107.5 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003422/0.0003422, allocations: 12.81 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2052, allocations: 106.4 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002323/0.2076, allocations: 1.917 MB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.2097, allocations: 1.635 MB / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.2098, allocations: 0 / 0.9036 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005717/0.2104, allocations: 211.2 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.2105, allocations: 67.84 kB / 0.9039 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007959/0.2113, allocations: 370 kB / 0.9043 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.2116, allocations: 255.5 kB / 0.9045 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.2117, allocations: 44.38 kB / 0.9045 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.2118, allocations: 135.6 kB / 0.9047 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.212, allocations: 139.5 kB / 0.9048 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.212, allocations: 16 kB / 0.9048 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.2123, allocations: 207.7 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.2124, allocations: 103.8 kB / 0.9051 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.2124, allocations: 77.52 kB / 0.9052 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.2128, allocations: 463.1 kB / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2128, allocations: 0 / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2128, allocations: 0 / 0.9056 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.2128, allocations: 4 kB / 0.9056 GB, free: 58.18 MB / 0.6042 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.0008998/0.2137, allocations: 0.6517 MB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.2138, allocations: 12.03 kB / 0.9063 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.828e-05/0.2138, allocations: 46.55 kB / 0.9063 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.2154, allocations: 159.5 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.2159, allocations: 353.2 kB / 0.9068 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.216, allocations: 71.39 kB / 0.9069 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.216, allocations: 15.94 kB / 0.9069 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.2169, allocations: 453.2 kB / 0.9073 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.217, allocations: 7.938 kB / 0.9073 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.217, allocations: 8 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.217, allocations: 0 / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.2184, allocations: 0.6271 MB / 0.908 GB, free: 55.67 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001581/0.22, allocations: 1.054 MB / 0.909 GB, free: 54.57 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/0.2247, allocations: 0.9159 MB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.2247, allocations: 3.984 kB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008772/0.2256, allocations: 460.2 kB / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.086e-06/0.2256, allocations: 0 / 0.9103 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.002247/0.2279, allocations: 0.9783 MB / 0.9113 GB, free: 52.19 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.2279, allocations: 59.39 kB / 0.9113 GB, free: 52.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003574/0.2283, allocations: 429.6 kB / 0.9118 GB, free: 51.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.477e-05/0.2283, allocations: 33.69 kB / 0.9118 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.2284, allocations: 172 kB / 0.912 GB, free: 51.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.2285, allocations: 51.3 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.382e-05/0.2285, allocations: 3.938 kB / 0.912 GB, free: 51.43 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.385e-05/0.2286, allocations: 354.8 kB / 0.9123 GB, free: 51.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007578/0.2294, allocations: 400.6 kB / 0.9127 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007341/0.2301, allocations: 395.7 kB / 0.9131 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000712/0.2308, allocations: 369.5 kB / 0.9135 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2308, allocations: 0 / 0.9135 GB, free: 49.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001789/0.2326, allocations: 0.9499 MB / 0.9144 GB, free: 48.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.2327, allocations: 41.69 kB / 0.9144 GB, free: 48.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2327, allocations: 3.984 kB / 0.9144 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.2328, allocations: 0 / 0.9144 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004425/0.2332, allocations: 79.86 kB / 0.9145 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2332, allocations: 0 / 0.9145 GB, free: 48.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004201/0.2336, allocations: 55.86 kB / 0.9146 GB, free: 48.78 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/0.2337, allocations: 11.98 kB / 0.9146 GB, free: 48.77 MB / 0.6042 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.0002624/0.234, allocations: 200 kB / 0.9148 GB, free: 48.57 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.234, allocations: 31.62 kB / 0.9148 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.516e-05/0.2341, allocations: 43.47 kB / 0.9148 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2341, allocations: 0 / 0.9148 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2341, allocations: 0 / 0.9148 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2341, allocations: 3.984 kB / 0.9148 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.2346, allocations: 0.54 MB / 0.9154 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2346, allocations: 0 / 0.9154 GB, free: 47.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.235, allocations: 83.84 kB / 0.9154 GB, free: 47.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.235, allocations: 4 kB / 0.9154 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.2351, allocations: 3.984 kB / 0.9154 GB, free: 47.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2351, allocations: 4 kB / 0.9155 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2351, allocations: 0 / 0.9155 GB, free: 47.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.2366, allocations: 0.7014 MB / 0.9161 GB, free: 47.09 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.2368, allocations: 168.5 kB / 0.9163 GB, free: 46.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.451e-05/0.2369, allocations: 11.98 kB / 0.9163 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004199/0.2373, allocations: 59.94 kB / 0.9164 GB, free: 46.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.2374, allocations: 27.84 kB / 0.9164 GB, free: 46.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.2375, allocations: 11.98 kB / 0.9164 GB, free: 46.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002793/0.2378, allocations: 319.1 kB / 0.9167 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2378, allocations: 0 / 0.9167 GB, free: 46.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003423/0.2381, allocations: 76.25 kB / 0.9168 GB, free: 46.41 MB / 0.6042 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.001971/0.2401, allocations: 1.29 MB / 0.918 GB, free: 45.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001557/0.2417, allocations: 0.7958 MB / 0.9188 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2417, allocations: 0 / 0.9188 GB, free: 44.28 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007032/0.2424, allocations: 351.6 kB / 0.9192 GB, free: 43.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.2428, allocations: 75.47 kB / 0.9192 GB, free: 43.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005496/0.2483, allocations: 3.753 MB / 0.9229 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.2486, allocations: 0.8259 MB / 0.9237 GB, free: 39.22 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004461/0.249, allocations: 94.25 kB / 0.9238 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002036/0.2492, allocations: 107.4 kB / 0.9239 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of SimCode: time 1.473e-06/0.2492, allocations: 3.938 kB / 0.9239 GB, free: 39.02 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.2704, allocations: 9.794 MB / 0.9335 GB, free: 29.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.2706, allocations: 261.6 kB / 0.9337 GB, free: 29.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.358, allocations: 0 / 0.9337 GB, free: 29.15 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)