Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008028/0.008028, allocations: 170 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.386/2.386, allocations: 437.8 MB / 0.7121 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003523, allocations: 11.98 kB / 0.873 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6128, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint): time 0.003213/0.6161, allocations: 2.639 MB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1412/0.7573, allocations: 150.8 MB / 1.173 GB, free: 5.742 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002853/0.7576, allocations: 4 kB / 1.173 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.7588, allocations: 0.5289 MB / 1.174 GB, free: 5.207 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.7601, allocations: 0.6067 MB / 1.174 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.7613, allocations: 0.5727 MB / 1.175 GB, free: 4.023 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001039/0.7623, allocations: 1.26 MB / 1.176 GB, free: 2.762 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.7626, allocations: 186.5 kB / 1.176 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003553/0.7629, allocations: 434.1 kB / 1.177 GB, free: 2.141 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006512/0.7636, allocations: 0.5836 MB / 1.177 GB, free: 1.555 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.566e-05/0.7637, allocations: 60 kB / 1.177 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001677/0.7654, allocations: 1.251 MB / 1.178 GB, free: 248 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.7657, allocations: 350.7 kB / 1.179 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004887/0.7662, allocations: 0.6659 MB / 1.179 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.7683, allocations: 2.741 MB / 1.182 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7683, allocations: 0 / 1.182 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7683, allocations: 4 kB / 1.182 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.7684, allocations: 0 / 1.182 GB, free: 12.47 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.002811/0.7712, allocations: 1.887 MB / 1.184 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.7712, allocations: 12.03 kB / 1.184 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.7713, allocations: 46.73 kB / 1.184 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01653/0.7878, allocations: 2.301 MB / 1.186 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002242/0.7901, allocations: 1.456 MB / 1.188 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7901, allocations: 16.23 kB / 1.188 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.7902, allocations: 16 kB / 1.188 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005335/0.7956, allocations: 1.257 MB / 1.189 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7956, allocations: 0 / 1.189 GB, free: 5.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.23e-05/0.7957, allocations: 11.94 kB / 1.189 GB, free: 5.328 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.7957, allocations: 8 kB / 1.189 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00985/0.8055, allocations: 2.091 MB / 1.191 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01022/0.8158, allocations: 3.361 MB / 1.194 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01311/0.8289, allocations: 2.776 MB / 1.197 GB, free: 13 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004776/0.8337, allocations: 1.063 MB / 1.198 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005495/0.8343, allocations: 445.4 kB / 1.198 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005035/0.8393, allocations: 1.228 MB / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=21): time 2.354e-06/0.8394, allocations: 0 / 1.2 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of matching and sorting (n=21): time 0.03333/0.8727, allocations: 4.816 MB / 1.204 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/0.8728, allocations: 136.5 kB / 1.204 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/0.877, allocations: 2.48 MB / 1.207 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/0.8772, allocations: 41.69 kB / 1.207 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.8778, allocations: 0.5822 MB / 1.207 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.8779, allocations: 63.2 kB / 1.208 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.8781, allocations: 45.69 kB / 1.208 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.8782, allocations: 322 kB / 1.208 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005478/0.8837, allocations: 1.222 MB / 1.209 GB, free: 368 kB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005434/0.8891, allocations: 1.269 MB / 1.21 GB, free: 15.08 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009757/0.8989, allocations: 2.115 MB / 1.212 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8989, allocations: 0 / 1.212 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0278/0.9267, allocations: 4.176 MB / 1.216 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001047/0.9269, allocations: 135.8 kB / 1.217 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.9269, allocations: 0 / 1.217 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004101/0.931, allocations: 0.9794 MB / 1.218 GB, free: 7.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.9336, allocations: 427.5 kB / 1.218 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009433/0.9431, allocations: 8.089 MB / 1.226 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/0.9468, allocations: 491.1 kB / 1.226 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/0.9469, allocations: 43.89 kB / 1.226 GB, free: 14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.947, allocations: 4 kB / 1.226 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02656/0.9735, allocations: 3.856 MB / 1.23 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.9736, allocations: 3.938 kB / 1.23 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/0.9763, allocations: 0.7961 MB / 1.231 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.9789, allocations: 427.4 kB / 1.231 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006029/0.985, allocations: 6.838 MB / 1.238 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003605/0.9886, allocations: 471.3 kB / 1.238 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.9888, allocations: 31.97 kB / 1.238 GB, free: 0.9844 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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,adp.stage,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001065/0.9899, allocations: 0.6911 MB / 1.239 GB, free: 284 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004433/0.9903, allocations: 146.1 kB / 1.239 GB, free: 136 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0261/1.016, allocations: 3.525 MB / 1.243 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/1.016, allocations: 11.92 kB / 1.243 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.016, allocations: 0 / 1.243 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/1.017, allocations: 4 kB / 1.243 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/1.018, allocations: 1.12 MB / 1.244 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.018, allocations: 4 kB / 1.244 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/1.021, allocations: 387.5 kB / 1.244 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006496/1.022, allocations: 172.7 kB / 1.244 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.543e-05/1.022, allocations: 19.97 kB / 1.244 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009952/1.023, allocations: 0.6576 MB / 1.245 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.023, allocations: 3.938 kB / 1.245 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.026/1.049, allocations: 3.489 MB / 1.248 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/1.05, allocations: 442.9 kB / 1.249 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/1.05, allocations: 11.98 kB / 1.249 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003261/1.053, allocations: 415.5 kB / 1.249 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.054, allocations: 23.97 kB / 1.249 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.076e-05/1.054, allocations: 27.97 kB / 1.249 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003056/1.057, allocations: 1.776 MB / 1.251 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.4e-07/1.057, allocations: 0 / 1.251 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001937/1.059, allocations: 0.5546 MB / 1.252 GB, free: 3.363 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01142/1.07, allocations: 3.07 MB / 1.255 GB, free: 256 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4476/1.518, allocations: 5.14 MB / 1.26 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.518, allocations: 0.875 kB / 1.26 GB, free: 228.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0053/1.523, allocations: 1.189 MB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.525, allocations: 357.3 kB / 1.261 GB, free: 228.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09833/1.623, allocations: 26.71 MB / 1.287 GB, free: 215.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007529/1.624, allocations: 1.417 MB / 1.289 GB, free: 214 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001638/1.626, allocations: 433.6 kB / 1.289 GB, free: 213.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007681/1.626, allocations: 451.2 kB / 1.289 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.322e-06/1.626, allocations: 0 / 1.289 GB, free: 213.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.854/3.48, allocations: 47.14 MB / 1.335 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/3.48, allocations: 258.6 kB / 1.336 GB, free: 166.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.518/6.998, allocations: 4 kB / 1.336 GB, free: 166.2 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)