Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001242/0.001242, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.001501/0.001501, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.8938/0.8938, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.837/1.837, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.SpeedShift,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.354e-05, allocations: 5.797 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002421/0.002445, allocations: 2.018 MB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002282/0.004727, allocations: 2.366 MB / 1.005 GB, free: 9.102 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.004844, allocations: 3.938 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0009501/0.005794, allocations: 469.7 kB / 1.005 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.005909, allocations: 75.53 kB / 1.006 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007397/0.006649, allocations: 279.1 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003091/0.006958, allocations: 342.1 kB / 1.006 GB, free: 7.953 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.007087, allocations: 45.23 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.007212, allocations: 155.5 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.007352, allocations: 111.7 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.007374, allocations: 8 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.007744, allocations: 327.5 kB / 1.007 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.718e-05/0.007831, allocations: 107.5 kB / 1.007 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.93e-05/0.007921, allocations: 99.61 kB / 1.007 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006988/0.008619, allocations: 0.8528 MB / 1.008 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.008625, allocations: 4 kB / 1.008 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.523e-06/0.008626, allocations: 0 / 1.008 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.008633, allocations: 0 / 1.008 GB, free: 6.25 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008153/0.009449, allocations: 0.8197 MB / 1.009 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.009492, allocations: 9.344 kB / 1.009 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.601e-05/0.009528, allocations: 38.75 kB / 1.009 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.009593, allocations: 68.52 kB / 1.009 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.00994, allocations: 338.3 kB / 1.009 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.009956, allocations: 8.375 kB / 1.009 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.00997, allocations: 8.375 kB / 1.009 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001959/0.01017, allocations: 170.5 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.01017, allocations: 0 / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.01019, allocations: 4 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.01019, allocations: 0 / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.01031, allocations: 137.6 kB / 1.009 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.01085, allocations: 0.4917 MB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.01099, allocations: 128.2 kB / 1.01 GB, free: 3.898 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.01106, allocations: 82.67 kB / 1.01 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.01109, allocations: 4 kB / 1.01 GB, free: 3.805 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.01125, allocations: 174.9 kB / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.01126, allocations: 96 / 1.01 GB, free: 3.609 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.000368/0.01162, allocations: 382.1 kB / 1.011 GB, free: 3.211 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.01166, allocations: 85.09 kB / 1.011 GB, free: 3.109 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005853/0.01225, allocations: 0.7896 MB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.01226, allocations: 29.7 kB / 1.011 GB, free: 2.273 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.01243, allocations: 292.2 kB / 1.012 GB, free: 1.98 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.01245, allocations: 23.8 kB / 1.012 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.0125, allocations: 29.7 kB / 1.012 GB, free: 1.922 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.037e-05/0.01257, allocations: 310 kB / 1.012 GB, free: 1.613 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-05/0.01263, allocations: 77.67 kB / 1.012 GB, free: 1.531 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.01269, allocations: 81.67 kB / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.01281, allocations: 168.1 kB / 1.012 GB, free: 1.266 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01281, allocations: 4 kB / 1.012 GB, free: 1.262 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000291/0.0131, allocations: 300.6 kB / 1.013 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.328e-05/0.01313, allocations: 41.62 kB / 1.013 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.01314, allocations: 160 / 1.013 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01315, allocations: 0 / 1.013 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.01322, allocations: 12 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.01323, allocations: 3.984 kB / 1.013 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.0133, allocations: 7.953 kB / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.01332, allocations: 11.98 kB / 1.013 GB, free: 0.8672 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: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0002188/0.01354, allocations: 339.3 kB / 1.013 GB, free: 0.5195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.01358, allocations: 71.56 kB / 1.013 GB, free: 460 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.01387, allocations: 339 kB / 1.013 GB, free: 100 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01388, allocations: 4.109 kB / 1.013 GB, free: 96 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.01388, allocations: 4 kB / 1.013 GB, free: 92 kB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.01389, allocations: 3.938 kB / 1.013 GB, free: 88 kB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.01414, allocations: 340.5 kB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01414, allocations: 0 / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.01417, allocations: 4 kB / 1.014 GB, free: 15.71 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.01417, allocations: 4 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.01418, allocations: 11.94 kB / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.01418, allocations: 0 / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.01418, allocations: 0 / 1.014 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.01442, allocations: 351.9 kB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.291e-05/0.0145, allocations: 67.56 kB / 1.014 GB, free: 15.25 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.01453, allocations: 7.938 kB / 1.014 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.275e-05/0.0146, allocations: 4 kB / 1.014 GB, free: 15.24 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.01464, allocations: 7.984 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.01465, allocations: 4 kB / 1.014 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.000411/0.01506, allocations: 0.5848 MB / 1.015 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.01506, allocations: 4 kB / 1.015 GB, free: 14.64 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002992/0.01536, allocations: 131.8 kB / 1.015 GB, free: 14.52 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (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 (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.0006884/0.01605, allocations: 0.9822 MB / 1.016 GB, free: 13.49 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.01634, allocations: 242.7 kB / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01634, allocations: 0 / 1.016 GB, free: 13.23 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.69e-05/0.01643, allocations: 157 kB / 1.016 GB, free: 13.06 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.01679, allocations: 126.6 kB / 1.016 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.02069, allocations: 4.844 MB / 1.021 GB, free: 7.953 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.02092, allocations: 374.9 kB / 1.021 GB, free: 7.562 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.091e-05/0.02101, allocations: 29.89 kB / 1.021 GB, free: 7.531 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001396/0.02115, allocations: 172.4 kB / 1.022 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of SimCode: time 1.042e-06/0.02116, allocations: 0 / 1.022 GB, free: 7.363 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08883/0.11, allocations: 13.2 MB / 1.035 GB, free: 10.45 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.426, allocations: 3.562 kB / 1.035 GB, free: 10.45 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu) > Buildings_13_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.293811373412609]