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.001042/0.001042, allocations: 80.45 kB / 19.96 MB, free: 4.594 MB / 18.57 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.0008246/0.0008246, allocations: 173.2 kB / 23.24 MB, free: 1.312 MB / 18.57 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 0.9581/0.9581, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.824/1.824, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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 1.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.072e-05/1.222e-05, allocations: 2.281 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.DryWetSelector): time 0.002056/0.002068, allocations: 1.705 MB / 1.002 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009412/0.003009, allocations: 0.7361 MB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.682e-05/0.003066, allocations: 4 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.515e-05/0.003101, allocations: 19.73 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.003161, allocations: 19.81 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.003506, allocations: 107.6 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.003621, allocations: 107.6 kB / 1.003 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.003734, allocations: 37.2 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.244e-05/0.003827, allocations: 59.88 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.00388, allocations: 43.88 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.003897, allocations: 8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.004114, allocations: 115.8 kB / 1.004 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/0.004133, allocations: 27.89 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.004165, allocations: 35.92 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.004365, allocations: 175.4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004367, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004367, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.004371, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 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.0004698/0.004841, allocations: 373.6 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.004879, allocations: 9.344 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.004915, allocations: 46.73 kB / 1.004 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.00494, allocations: 12.89 kB / 1.004 GB, free: 9.82 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.005021, allocations: 125.6 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.005033, allocations: 8.375 kB / 1.004 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.228e-05/0.005045, allocations: 8.375 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.005249, allocations: 120.5 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.005257, allocations: 192 / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.00527, allocations: 12.11 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.005276, allocations: 4 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001987/0.005475, allocations: 119.8 kB / 1.005 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.005877, allocations: 347.5 kB / 1.005 GB, free: 9.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.006112, allocations: 102.6 kB / 1.005 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.006215, allocations: 60.81 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001527/0.006367, allocations: 39.97 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.006385, allocations: 38.56 kB / 1.005 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.432e-06/0.006387, allocations: 3.938 kB / 1.005 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003706/0.006757, allocations: 185.8 kB / 1.005 GB, free: 8.57 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.006781, allocations: 59.28 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.006885, allocations: 167.3 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.006897, allocations: 29.7 kB / 1.006 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.23e-05/0.006939, allocations: 104.1 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.006963, allocations: 31.73 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.006996, allocations: 17.72 kB / 1.006 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.007075, allocations: 322.8 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.007161, allocations: 43.95 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.323e-05/0.007244, allocations: 47.95 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.007415, allocations: 100.7 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.007417, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002058/0.007623, allocations: 141.6 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.007634, allocations: 4 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.007638, allocations: 0 / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.00765, allocations: 3.938 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.007721, allocations: 31.91 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.007727, allocations: 4 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.007777, allocations: 23.88 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.007783, allocations: 4 kB / 1.006 GB, free: 7.395 MB / 0.9636 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 5.818e-05/0.007841, allocations: 117.8 kB / 1.007 GB, free: 7.27 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.697e-05/0.007858, allocations: 12.28 kB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.008099, allocations: 158.9 kB / 1.007 GB, free: 7.094 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.008102, allocations: 7.938 kB / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.008105, allocations: 0 / 1.007 GB, free: 7.086 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.008108, allocations: 4 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.008238, allocations: 172.7 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.008239, allocations: 3.938 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.032e-05/0.008299, allocations: 23.97 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.008301, allocations: 0 / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.653e-06/0.008307, allocations: 0 / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008309, allocations: 7.938 kB / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.00831, allocations: 0 / 1.007 GB, free: 6.836 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.008538, allocations: 243.3 kB / 1.007 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.008568, allocations: 15.94 kB / 1.007 GB, free: 6.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.008582, allocations: 4 kB / 1.007 GB, free: 6.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.999e-05/0.008642, allocations: 11.92 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.00868, allocations: 15.92 kB / 1.007 GB, free: 6.535 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.008685, allocations: 4 kB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.856e-05/0.008743, allocations: 120 kB / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008743, allocations: 0 / 1.007 GB, free: 6.414 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001748/0.008918, allocations: 35.89 kB / 1.007 GB, free: 6.379 MB / 0.9636 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.0004326/0.009351, allocations: 0.7826 MB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002201/0.009571, allocations: 112.1 kB / 1.008 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.009572, allocations: 4 kB / 1.008 GB, free: 5.457 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.009662, allocations: 51.95 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.009907, allocations: 27.92 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.0116, allocations: 1.766 MB / 1.01 GB, free: 3.531 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.267e-05/0.01165, allocations: 88.31 kB / 1.01 GB, free: 3.422 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01169, allocations: 12.48 kB / 1.01 GB, free: 3.41 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.01174, allocations: 32.48 kB / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of SimCode: time 7.31e-07/0.01174, allocations: 0 / 1.01 GB, free: 3.379 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07637/0.08811, allocations: 4.05 MB / 1.014 GB, free: 15.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.84/6.928, allocations: 12.84 kB / 1.014 GB, free: 15.5 MB / 0.9792 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: 11.422961068339646]