Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.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.00104/0.00104, allocations: 104.3 kB / 19.72 MB, free: 424 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.001217/0.001217, allocations: 218.9 kB / 23.02 MB, free: 2.961 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.137/1.137, allocations: 230.6 MB / 256.8 MB, free: 9.609 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 2.131/2.131, allocations: 0.5046 GB / 0.8104 GB, free: 2.789 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.HeatMeter,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009823/0.0009823, allocations: 72.91 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3331, allocations: 180 MB / 1.352 GB, free: 9.168 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01945/0.3526, allocations: 21.63 MB / 1.374 GB, free: 3.449 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.005952/0.3585, allocations: 4.728 MB / 1.378 GB, free: 14.71 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009835/0.3595, allocations: 35.69 kB / 1.378 GB, free: 14.68 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007798/0.3603, allocations: 290 kB / 1.379 GB, free: 14.39 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.3624, allocations: 0.828 MB / 1.379 GB, free: 13.56 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.3639, allocations: 0.7655 MB / 1.38 GB, free: 12.8 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.001795/0.3656, allocations: 1.621 MB / 1.382 GB, free: 11.18 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006046/0.3663, allocations: 373.5 kB / 1.382 GB, free: 10.8 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001654/0.3679, allocations: 0.7355 MB / 1.383 GB, free: 10.06 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005636/0.3685, allocations: 441.9 kB / 1.383 GB, free: 9.629 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.3685, allocations: 48 kB / 1.383 GB, free: 9.582 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008204/0.3693, allocations: 411.2 kB / 1.384 GB, free: 9.18 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.3695, allocations: 147.4 kB / 1.384 GB, free: 9.035 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.3697, allocations: 258.8 kB / 1.384 GB, free: 8.781 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.371, allocations: 0.9303 MB / 1.385 GB, free: 7.848 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.3711, allocations: 0 / 1.385 GB, free: 7.848 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3711, allocations: 0 / 1.385 GB, free: 7.848 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.3711, allocations: 4 kB / 1.385 GB, free: 7.844 MB / 1.073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001208/0.3723, allocations: 0.8237 MB / 1.386 GB, free: 6.988 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.3723, allocations: 12.92 kB / 1.386 GB, free: 6.977 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.07e-05/0.3724, allocations: 74.72 kB / 1.386 GB, free: 6.895 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3726, allocations: 64.56 kB / 1.386 GB, free: 6.832 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008342/0.3735, allocations: 0.5112 MB / 1.386 GB, free: 6.301 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.3735, allocations: 29 kB / 1.386 GB, free: 6.273 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.3736, allocations: 40 kB / 1.386 GB, free: 6.234 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.3741, allocations: 0.5018 MB / 1.387 GB, free: 5.691 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.3741, allocations: 3.938 kB / 1.387 GB, free: 5.688 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3742, allocations: 16 kB / 1.387 GB, free: 5.672 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.3742, allocations: 15.94 kB / 1.387 GB, free: 5.656 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.3746, allocations: 303.8 kB / 1.387 GB, free: 5.359 MB / 1.073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002283/0.3768, allocations: 1.521 MB / 1.389 GB, free: 3.777 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.3773, allocations: 254.7 kB / 1.389 GB, free: 3.52 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.3776, allocations: 112.8 kB / 1.389 GB, free: 3.406 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.3778, allocations: 103.9 kB / 1.389 GB, free: 3.305 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.3779, allocations: 42.55 kB / 1.389 GB, free: 3.254 MB / 1.073 GB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.3779, allocations: 0 / 1.389 GB, free: 3.254 MB / 1.073 GB Notification: Performance of matching and sorting (n=26): time 0.0005359/0.3784, allocations: 371.2 kB / 1.39 GB, free: 2.887 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.3784, allocations: 59.41 kB / 1.39 GB, free: 2.816 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000422/0.3788, allocations: 474 kB / 1.39 GB, free: 2.344 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.3789, allocations: 33.7 kB / 1.39 GB, free: 2.305 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.3791, allocations: 260.4 kB / 1.39 GB, free: 2.047 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.3791, allocations: 99.11 kB / 1.39 GB, free: 1.949 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.3792, allocations: 73.97 kB / 1.39 GB, free: 1.871 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3793, allocations: 358.8 kB / 1.391 GB, free: 1.512 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.3794, allocations: 92.61 kB / 1.391 GB, free: 1.422 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3796, allocations: 253.2 kB / 1.391 GB, free: 1.133 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003085/0.38, allocations: 287.2 kB / 1.391 GB, free: 0.8281 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.38, allocations: 4 kB / 1.391 GB, free: 0.8242 MB / 1.073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004381/0.3804, allocations: 365.1 kB / 1.392 GB, free: 472 kB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.3804, allocations: 8.219 kB / 1.392 GB, free: 464 kB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.3804, allocations: 4 kB / 1.392 GB, free: 460 kB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3804, allocations: 7.875 kB / 1.392 GB, free: 452 kB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.3806, allocations: 71.91 kB / 1.392 GB, free: 380 kB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3806, allocations: 0 / 1.392 GB, free: 380 kB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.3808, allocations: 43.72 kB / 1.392 GB, free: 336 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3808, allocations: 12 kB / 1.392 GB, free: 324 kB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.0001711/0.381, allocations: 185.7 kB / 1.392 GB, free: 128 kB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.3811, allocations: 51.67 kB / 1.392 GB, free: 76 kB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/0.382, allocations: 485.2 kB / 1.393 GB, free: 15.59 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.382, allocations: 3.938 kB / 1.393 GB, free: 15.59 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.382, allocations: 4 kB / 1.393 GB, free: 15.58 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003859/0.3824, allocations: 0.5782 MB / 1.393 GB, free: 14.94 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.3836, allocations: 1.01 MB / 1.394 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3836, allocations: 0 / 1.394 GB, free: 13.86 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.3837, allocations: 51.91 kB / 1.394 GB, free: 13.81 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3837, allocations: 4 kB / 1.394 GB, free: 13.8 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.3837, allocations: 12.17 kB / 1.394 GB, free: 13.79 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.3837, allocations: 8 kB / 1.394 GB, free: 13.79 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3837, allocations: 0 / 1.394 GB, free: 13.79 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006534/0.3844, allocations: 0.6874 MB / 1.395 GB, free: 13.06 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001599/0.3846, allocations: 99.58 kB / 1.395 GB, free: 12.96 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.3846, allocations: 4 kB / 1.395 GB, free: 12.96 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.3848, allocations: 15.94 kB / 1.395 GB, free: 12.95 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.3848, allocations: 31.89 kB / 1.395 GB, free: 12.91 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.921e-05/0.3848, allocations: 19.98 kB / 1.395 GB, free: 12.89 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.0002902/0.3851, allocations: 342.9 kB / 1.395 GB, free: 12.56 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3851, allocations: 7.938 kB / 1.395 GB, free: 12.55 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0005611/0.3857, allocations: 207.5 kB / 1.396 GB, free: 12.35 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001132/0.3868, allocations: 1.381 MB / 1.397 GB, free: 10.93 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.3872, allocations: 276.1 kB / 1.397 GB, free: 10.66 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3872, allocations: 8 kB / 1.397 GB, free: 10.65 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.3874, allocations: 156.5 kB / 1.397 GB, free: 10.5 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000908/0.3883, allocations: 328.8 kB / 1.398 GB, free: 10.18 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.3926, allocations: 4.213 MB / 1.402 GB, free: 5.805 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001861/0.3928, allocations: 262.4 kB / 1.402 GB, free: 5.523 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0003303/0.3931, allocations: 120.7 kB / 1.402 GB, free: 5.402 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.3933, allocations: 187.4 kB / 1.402 GB, free: 5.219 MB / 1.089 GB Notification: Performance of SimCode: time 1.613e-06/0.3933, allocations: 3.938 kB / 1.402 GB, free: 5.215 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/0.4953, allocations: 18.56 MB / 1.42 GB, free: 3.09 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.388, allocations: 9.469 kB / 1.421 GB, free: 3.086 MB / 1.104 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_HeatMeter.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_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_HeatMeter.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.HeatMeter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.235342726111412]