Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.001202/0.001202, 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.0008286/0.0008286, 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 0.9881/0.9881, 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.971/1.971, allocations: 0.5046 GB / 0.8104 GB, free: 2.785 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.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009169/0.0009169, allocations: 67.89 kB / 1.177 GB, free: 12.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7521/0.7531, allocations: 180 MB / 1.352 GB, free: 1.691 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1184/0.8715, allocations: 147.6 MB / 1.497 GB, free: 13.51 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.8732, allocations: 1.445 MB / 1.498 GB, free: 12.06 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.8734, allocations: 19.81 kB / 1.498 GB, free: 12.04 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.8738, allocations: 158.9 kB / 1.498 GB, free: 11.89 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.8751, allocations: 0.6884 MB / 1.499 GB, free: 11.2 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.8759, allocations: 0.6228 MB / 1.499 GB, free: 10.57 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.8765, allocations: 0.6856 MB / 1.5 GB, free: 9.883 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002525/0.8767, allocations: 173.5 kB / 1.5 GB, free: 9.715 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.8773, allocations: 0.4944 MB / 1.501 GB, free: 9.219 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.8776, allocations: 215.1 kB / 1.501 GB, free: 9.008 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.8776, allocations: 20 kB / 1.501 GB, free: 8.988 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007161/0.8783, allocations: 0.7089 MB / 1.502 GB, free: 8.277 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 9.989e-05/0.8784, allocations: 107.6 kB / 1.502 GB, free: 8.172 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.8785, allocations: 139.4 kB / 1.502 GB, free: 8.035 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.8792, allocations: 0.6853 MB / 1.503 GB, free: 7.348 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8792, allocations: 8 kB / 1.503 GB, free: 7.34 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8792, allocations: 0 / 1.503 GB, free: 7.34 MB / 1.182 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.8792, allocations: 0 / 1.503 GB, free: 7.34 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0007264/0.8799, allocations: 0.5745 MB / 1.503 GB, free: 6.734 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.88, allocations: 16.86 kB / 1.503 GB, free: 6.719 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.88, allocations: 66.45 kB / 1.503 GB, free: 6.645 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006999/0.8807, allocations: 155.6 kB / 1.503 GB, free: 6.492 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.8811, allocations: 252.1 kB / 1.504 GB, free: 6.223 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.8811, allocations: 16.44 kB / 1.504 GB, free: 6.207 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.8812, allocations: 24 kB / 1.504 GB, free: 6.184 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.8815, allocations: 279.4 kB / 1.504 GB, free: 5.887 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.8815, allocations: 0 / 1.504 GB, free: 5.887 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.8815, allocations: 16 kB / 1.504 GB, free: 5.871 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.8815, allocations: 4 kB / 1.504 GB, free: 5.867 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.8818, allocations: 203.7 kB / 1.504 GB, free: 5.668 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00092/0.8827, allocations: 0.9812 MB / 1.505 GB, free: 4.629 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.8829, allocations: 126.5 kB / 1.505 GB, free: 4.496 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.883, allocations: 87.48 kB / 1.505 GB, free: 4.41 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.8833, allocations: 75.84 kB / 1.505 GB, free: 4.336 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.8833, allocations: 38.56 kB / 1.505 GB, free: 4.289 MB / 1.182 GB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.8833, allocations: 0 / 1.505 GB, free: 4.289 MB / 1.182 GB Notification: Performance of matching and sorting (n=15): time 0.0004795/0.8838, allocations: 281.5 kB / 1.506 GB, free: 4.008 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.8838, allocations: 51.41 kB / 1.506 GB, free: 3.945 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.884, allocations: 308.6 kB / 1.506 GB, free: 3.641 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.884, allocations: 29.7 kB / 1.506 GB, free: 3.605 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.8841, allocations: 180.2 kB / 1.506 GB, free: 3.426 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.8841, allocations: 63.52 kB / 1.506 GB, free: 3.363 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.156e-05/0.8842, allocations: 45.66 kB / 1.506 GB, free: 3.312 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.8843, allocations: 338.8 kB / 1.507 GB, free: 2.973 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.533e-05/0.8844, allocations: 71.94 kB / 1.507 GB, free: 2.902 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.8845, allocations: 196.2 kB / 1.507 GB, free: 2.676 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.8848, allocations: 194.7 kB / 1.507 GB, free: 2.469 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8848, allocations: 0 / 1.507 GB, free: 2.469 MB / 1.182 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000267/0.885, allocations: 245.3 kB / 1.507 GB, free: 2.223 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.885, allocations: 4 kB / 1.507 GB, free: 2.219 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.885, allocations: 0 / 1.507 GB, free: 2.219 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.8851, allocations: 4 kB / 1.507 GB, free: 2.215 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.8852, allocations: 43.92 kB / 1.507 GB, free: 2.172 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8852, allocations: 12.03 kB / 1.507 GB, free: 2.16 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.556e-05/0.8853, allocations: 23.83 kB / 1.507 GB, free: 2.137 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.8853, allocations: 12 kB / 1.507 GB, free: 2.125 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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 0.0001111/0.8854, allocations: 162.2 kB / 1.508 GB, free: 1.957 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.8854, allocations: 27.81 kB / 1.508 GB, free: 1.93 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.8857, allocations: 212.2 kB / 1.508 GB, free: 1.711 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.8857, allocations: 4 kB / 1.508 GB, free: 1.707 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8857, allocations: 8 kB / 1.508 GB, free: 1.699 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.8857, allocations: 3.938 kB / 1.508 GB, free: 1.695 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007132/0.8864, allocations: 0.628 MB / 1.508 GB, free: 0.9961 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.8864, allocations: 0 / 1.508 GB, free: 0.9961 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.67e-05/0.8865, allocations: 40.12 kB / 1.509 GB, free: 0.957 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.8865, allocations: 11.94 kB / 1.509 GB, free: 0.9453 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.8866, allocations: 4 kB / 1.509 GB, free: 0.9414 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.8866, allocations: 0 / 1.509 GB, free: 0.9414 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.8866, allocations: 4 kB / 1.509 GB, free: 0.9375 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.887, allocations: 435.8 kB / 1.509 GB, free: 488 kB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 6.105e-05/0.887, allocations: 43.73 kB / 1.509 GB, free: 444 kB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.887, allocations: 8.062 kB / 1.509 GB, free: 436 kB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.467e-05/0.8871, allocations: 15.98 kB / 1.509 GB, free: 420 kB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.8872, allocations: 15.92 kB / 1.509 GB, free: 404 kB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.8872, allocations: 8 kB / 1.509 GB, free: 396 kB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0001469/0.8873, allocations: 223 kB / 1.509 GB, free: 176 kB / 1.182 GB Notification: Performance of sort global known variables: time 1e-07/0.8873, allocations: 0 / 1.509 GB, free: 176 kB / 1.182 GB Notification: Performance of remove unused functions: time 0.0002542/0.8876, allocations: 83.83 kB / 1.509 GB, free: 92 kB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.0006696/0.8883, allocations: 1.011 MB / 1.51 GB, free: 15.03 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0002544/0.8885, allocations: 164.2 kB / 1.51 GB, free: 14.87 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8885, allocations: 0 / 1.51 GB, free: 14.87 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.8886, allocations: 92.44 kB / 1.511 GB, free: 14.78 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004669/0.8891, allocations: 151.4 kB / 1.511 GB, free: 14.63 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.8913, allocations: 2.894 MB / 1.514 GB, free: 11.59 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.8915, allocations: 179.1 kB / 1.514 GB, free: 11.39 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.8916, allocations: 58.92 kB / 1.514 GB, free: 11.34 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.849e-05/0.8917, allocations: 79.42 kB / 1.514 GB, free: 11.26 MB / 1.198 GB Notification: Performance of SimCode: time 4.61e-07/0.8917, allocations: 0 / 1.514 GB, free: 11.26 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08314/0.9748, allocations: 9.774 MB / 1.523 GB, free: 1.781 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.789/7.763, allocations: 3.938 kB / 1.523 GB, free: 1.777 MB / 1.198 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_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_Sensors_Examples_VolumeFlowRate.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.699254918843508]