Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.082/1.082, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.988/1.988, allocations: 0.5045 GB / 0.8104 GB, free: 2.754 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 77.59 kB / 1.177 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3524, allocations: 180 MB / 1.352 GB, free: 9.164 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002153/0.3546, allocations: 1.698 MB / 1.354 GB, free: 7.457 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009031/0.3555, allocations: 0.7401 MB / 1.355 GB, free: 6.711 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.511e-05/0.3555, allocations: 4 kB / 1.355 GB, free: 6.707 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.3556, allocations: 11.86 kB / 1.355 GB, free: 6.695 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.37e-05/0.3556, allocations: 23.73 kB / 1.355 GB, free: 6.672 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003492/0.356, allocations: 103.7 kB / 1.355 GB, free: 6.57 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3561, allocations: 111.6 kB / 1.355 GB, free: 6.461 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.3562, allocations: 33.03 kB / 1.355 GB, free: 6.43 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.3563, allocations: 39.86 kB / 1.355 GB, free: 6.391 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.578e-05/0.3563, allocations: 47.7 kB / 1.355 GB, free: 6.344 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.3563, allocations: 11.94 kB / 1.355 GB, free: 6.332 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.3566, allocations: 115.9 kB / 1.355 GB, free: 6.219 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.3566, allocations: 31.91 kB / 1.355 GB, free: 6.188 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.3566, allocations: 39.8 kB / 1.355 GB, free: 6.148 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.3568, allocations: 167.3 kB / 1.356 GB, free: 5.984 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.3568, allocations: 0 / 1.356 GB, free: 5.984 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3568, allocations: 4 kB / 1.356 GB, free: 5.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3569, allocations: 0 / 1.356 GB, free: 5.98 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004609/0.3573, allocations: 365.6 kB / 1.356 GB, free: 5.594 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.3574, allocations: 20.8 kB / 1.356 GB, free: 5.574 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.4e-05/0.3574, allocations: 42.75 kB / 1.356 GB, free: 5.523 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.3574, allocations: 12.84 kB / 1.356 GB, free: 5.512 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.773e-05/0.3575, allocations: 126.4 kB / 1.356 GB, free: 5.363 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3575, allocations: 4.375 kB / 1.356 GB, free: 5.359 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3575, allocations: 12.38 kB / 1.356 GB, free: 5.348 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.3578, allocations: 125.5 kB / 1.356 GB, free: 5.219 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3578, allocations: 0 / 1.356 GB, free: 5.219 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3578, allocations: 4 kB / 1.356 GB, free: 5.215 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.3578, allocations: 4 kB / 1.356 GB, free: 5.211 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.358, allocations: 107.9 kB / 1.356 GB, free: 5.105 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.3584, allocations: 359.5 kB / 1.357 GB, free: 4.711 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3586, allocations: 94.56 kB / 1.357 GB, free: 4.609 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.851e-05/0.3587, allocations: 68.8 kB / 1.357 GB, free: 4.539 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.3589, allocations: 43.95 kB / 1.357 GB, free: 4.496 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.3589, allocations: 34.56 kB / 1.357 GB, free: 4.453 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.3589, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.000356/0.3593, allocations: 201.3 kB / 1.357 GB, free: 4.25 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3593, allocations: 51.41 kB / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3594, allocations: 165.2 kB / 1.357 GB, free: 4.012 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3594, allocations: 25.7 kB / 1.357 GB, free: 3.98 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.3595, allocations: 100.1 kB / 1.357 GB, free: 3.879 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.3595, allocations: 31.7 kB / 1.357 GB, free: 3.848 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.3595, allocations: 21.7 kB / 1.357 GB, free: 3.82 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/0.3596, allocations: 326.8 kB / 1.358 GB, free: 3.492 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.556e-05/0.3597, allocations: 43.97 kB / 1.358 GB, free: 3.449 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.419e-05/0.3598, allocations: 43.95 kB / 1.358 GB, free: 3.406 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3599, allocations: 104.7 kB / 1.358 GB, free: 3.301 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3599, allocations: 0 / 1.358 GB, free: 3.301 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001985/0.3601, allocations: 145.5 kB / 1.358 GB, free: 3.152 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.3602, allocations: 12.58 kB / 1.358 GB, free: 3.141 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3602, allocations: 0 / 1.358 GB, free: 3.141 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.3602, allocations: 4 kB / 1.358 GB, free: 3.137 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.3602, allocations: 19.98 kB / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3603, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.3603, allocations: 15.94 kB / 1.358 GB, free: 3.102 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3603, allocations: 8 kB / 1.358 GB, free: 3.094 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 6.563e-05/0.3604, allocations: 126.3 kB / 1.358 GB, free: 2.961 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.3604, allocations: 15.84 kB / 1.358 GB, free: 2.945 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.3606, allocations: 158.9 kB / 1.358 GB, free: 2.777 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3606, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3606, allocations: 0 / 1.358 GB, free: 2.777 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3607, allocations: 4 kB / 1.358 GB, free: 2.773 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.3608, allocations: 172.6 kB / 1.359 GB, free: 2.562 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3608, allocations: 0 / 1.359 GB, free: 2.562 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.109e-05/0.3609, allocations: 23.92 kB / 1.359 GB, free: 2.539 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.3609, allocations: 3.938 kB / 1.359 GB, free: 2.535 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3609, allocations: 11.94 kB / 1.359 GB, free: 2.523 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3609, allocations: 0 / 1.359 GB, free: 2.523 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3609, allocations: 0 / 1.359 GB, free: 2.523 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.3611, allocations: 247.3 kB / 1.359 GB, free: 2.266 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.366e-05/0.3611, allocations: 23.88 kB / 1.359 GB, free: 2.242 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.3611, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.529e-05/0.3612, allocations: 15.97 kB / 1.359 GB, free: 2.227 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3612, allocations: 7.984 kB / 1.359 GB, free: 2.219 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.3612, allocations: 4 kB / 1.359 GB, free: 2.215 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0001431/0.3614, allocations: 124.9 kB / 1.359 GB, free: 2.094 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.3614, allocations: 0 / 1.359 GB, free: 2.094 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001863/0.3616, allocations: 35.94 kB / 1.359 GB, free: 2.059 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004514/0.362, allocations: 0.7866 MB / 1.36 GB, free: 1.246 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002135/0.3622, allocations: 103.9 kB / 1.36 GB, free: 1.145 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3622, allocations: 4 kB / 1.36 GB, free: 1.141 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 8.368e-05/0.3623, allocations: 55.89 kB / 1.36 GB, free: 1.086 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3626, allocations: 42.02 kB / 1.36 GB, free: 1.047 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.364, allocations: 1.762 MB / 1.362 GB, free: 15.2 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.588e-05/0.3641, allocations: 92.66 kB / 1.362 GB, free: 15.09 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3641, allocations: 12.34 kB / 1.362 GB, free: 15.08 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.3642, allocations: 35.42 kB / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of SimCode: time 7.31e-07/0.3642, allocations: 0 / 1.362 GB, free: 15.05 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07703/0.4412, allocations: 3.911 MB / 1.366 GB, free: 11.31 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.777/7.218, allocations: 11.12 kB / 1.366 GB, free: 11.31 MB / 1.057 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_DryWetSelector.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.832841497845948]