Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.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.001057/0.001057, allocations: 100.3 kB / 19.72 MB, free: 428 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.001161/0.001161, allocations: 215.3 kB / 23.02 MB, free: 2.973 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.9706/0.9706, allocations: 230.6 MB / 256.8 MB, free: 9.605 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/2, allocations: 0.5045 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.Velocity,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_13_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009162/0.0009162, allocations: 60.91 kB / 1.177 GB, free: 15.45 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3297, allocations: 180 MB / 1.352 GB, free: 9.164 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1459/0.4756, allocations: 147.7 MB / 1.497 GB, free: 4.938 MB / 1.182 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.4776, allocations: 1.465 MB / 1.498 GB, free: 3.469 MB / 1.182 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.4778, allocations: 19.81 kB / 1.498 GB, free: 3.449 MB / 1.182 GB Notification: Performance of NFTyping.typeComponents: time 0.0004616/0.4783, allocations: 150.9 kB / 1.498 GB, free: 3.301 MB / 1.182 GB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.4796, allocations: 0.7001 MB / 1.499 GB, free: 2.598 MB / 1.182 GB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.4806, allocations: 0.6142 MB / 1.5 GB, free: 1.984 MB / 1.182 GB Notification: Performance of NFFlatten.flatten: time 0.0005364/0.4812, allocations: 0.7059 MB / 1.5 GB, free: 1.273 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002396/0.4814, allocations: 169.4 kB / 1.5 GB, free: 1.105 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006528/0.4821, allocations: 0.5138 MB / 1.501 GB, free: 0.5898 MB / 1.182 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.4823, allocations: 223 kB / 1.501 GB, free: 380 kB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 3.114e-05/0.4823, allocations: 27.98 kB / 1.501 GB, free: 352 kB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.483, allocations: 0.7051 MB / 1.502 GB, free: 15.64 MB / 1.198 GB Notification: Performance of NFScalarize.scalarize: time 9.997e-05/0.4831, allocations: 111.6 kB / 1.502 GB, free: 15.53 MB / 1.198 GB Notification: Performance of NFVerifyModel.verify: time 9.645e-05/0.4832, allocations: 147.4 kB / 1.502 GB, free: 15.38 MB / 1.198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006457/0.4839, allocations: 0.7008 MB / 1.503 GB, free: 14.68 MB / 1.198 GB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.4839, allocations: 0 / 1.503 GB, free: 14.68 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4839, allocations: 0 / 1.503 GB, free: 14.68 MB / 1.198 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.4839, allocations: 0 / 1.503 GB, free: 14.68 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006743/0.4846, allocations: 0.594 MB / 1.503 GB, free: 14.05 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.4846, allocations: 8.922 kB / 1.503 GB, free: 14.05 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/0.4846, allocations: 54.55 kB / 1.503 GB, free: 13.98 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.4885, allocations: 155.6 kB / 1.504 GB, free: 13.83 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005171/0.489, allocations: 268.4 kB / 1.504 GB, free: 13.55 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4891, allocations: 16.44 kB / 1.504 GB, free: 13.53 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.4891, allocations: 24 kB / 1.504 GB, free: 13.51 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.4895, allocations: 285.1 kB / 1.504 GB, free: 13.21 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.4895, allocations: 3.938 kB / 1.504 GB, free: 13.2 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4895, allocations: 12 kB / 1.504 GB, free: 13.19 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.4895, allocations: 4 kB / 1.504 GB, free: 13.19 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.4897, allocations: 200.9 kB / 1.504 GB, free: 12.99 MB / 1.198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.491, allocations: 1.003 MB / 1.505 GB, free: 11.93 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4913, allocations: 142.4 kB / 1.505 GB, free: 11.78 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.4915, allocations: 96.78 kB / 1.506 GB, free: 11.68 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.4919, allocations: 67.92 kB / 1.506 GB, free: 11.62 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.4919, allocations: 34.56 kB / 1.506 GB, free: 11.57 MB / 1.198 GB Notification: Performance of pre-optimization done (n=17): time 3.546e-06/0.4919, allocations: 0 / 1.506 GB, free: 11.57 MB / 1.198 GB Notification: Performance of matching and sorting (n=17): time 0.0008663/0.4928, allocations: 291.5 kB / 1.506 GB, free: 11.29 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.4928, allocations: 55.41 kB / 1.506 GB, free: 11.22 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003287/0.4931, allocations: 324.5 kB / 1.506 GB, free: 10.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.4931, allocations: 29.7 kB / 1.506 GB, free: 10.86 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.4933, allocations: 184.2 kB / 1.506 GB, free: 10.68 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.4933, allocations: 63.47 kB / 1.507 GB, free: 10.62 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.064e-05/0.4934, allocations: 49.66 kB / 1.507 GB, free: 10.56 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.4935, allocations: 346.7 kB / 1.507 GB, free: 10.21 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001413/0.4937, allocations: 63.95 kB / 1.507 GB, free: 10.15 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.4939, allocations: 210 kB / 1.507 GB, free: 9.91 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003162/0.4942, allocations: 203.5 kB / 1.507 GB, free: 9.695 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4942, allocations: 0 / 1.507 GB, free: 9.695 MB / 1.198 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004243/0.4946, allocations: 249.2 kB / 1.508 GB, free: 9.445 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.4947, allocations: 8 kB / 1.508 GB, free: 9.438 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4947, allocations: 4.094 kB / 1.508 GB, free: 9.434 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.4947, allocations: 4 kB / 1.508 GB, free: 9.43 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.4949, allocations: 47.91 kB / 1.508 GB, free: 9.383 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.4949, allocations: 0 / 1.508 GB, free: 9.383 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.4951, allocations: 39.77 kB / 1.508 GB, free: 9.344 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.4951, allocations: 12 kB / 1.508 GB, free: 9.332 MB / 1.198 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 (24): * Single equations (assignments): 24 * 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.000147/0.4952, allocations: 150.2 kB / 1.508 GB, free: 9.176 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.438e-05/0.4953, allocations: 35.8 kB / 1.508 GB, free: 9.141 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.4957, allocations: 236.5 kB / 1.508 GB, free: 8.898 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.4957, allocations: 0 / 1.508 GB, free: 8.898 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.4958, allocations: 0 / 1.508 GB, free: 8.898 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4958, allocations: 0 / 1.508 GB, free: 8.898 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.4967, allocations: 0.6516 MB / 1.509 GB, free: 8.176 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4967, allocations: 7.875 kB / 1.509 GB, free: 8.168 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.4968, allocations: 39.97 kB / 1.509 GB, free: 8.129 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4968, allocations: 0 / 1.509 GB, free: 8.129 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4968, allocations: 7.938 kB / 1.509 GB, free: 8.121 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.4968, allocations: 4 kB / 1.509 GB, free: 8.117 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4968, allocations: 7.938 kB / 1.509 GB, free: 8.109 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005677/0.4974, allocations: 443.9 kB / 1.509 GB, free: 7.641 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.357e-05/0.4975, allocations: 43.83 kB / 1.509 GB, free: 7.598 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.4975, allocations: 15.86 kB / 1.509 GB, free: 7.582 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.4977, allocations: 12 kB / 1.509 GB, free: 7.57 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.4977, allocations: 15.97 kB / 1.509 GB, free: 7.555 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.4978, allocations: 8 kB / 1.509 GB, free: 7.547 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.0002075/0.498, allocations: 227 kB / 1.51 GB, free: 7.324 MB / 1.198 GB Notification: Performance of sort global known variables: time 1e-07/0.498, allocations: 0 / 1.51 GB, free: 7.324 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.0004349/0.4984, allocations: 87.92 kB / 1.51 GB, free: 7.238 MB / 1.198 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 (17): * Single equations (assignments): 17 * 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.0009824/0.4994, allocations: 1.034 MB / 1.511 GB, free: 6.152 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.0004902/0.4999, allocations: 175.7 kB / 1.511 GB, free: 5.98 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4999, allocations: 4.188 kB / 1.511 GB, free: 5.977 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.5, allocations: 91.81 kB / 1.511 GB, free: 5.887 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.5006, allocations: 157.2 kB / 1.511 GB, free: 5.738 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/0.5034, allocations: 2.986 MB / 1.514 GB, free: 2.605 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.5035, allocations: 175.8 kB / 1.514 GB, free: 2.406 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.5037, allocations: 66.92 kB / 1.514 GB, free: 2.34 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.5038, allocations: 95.34 kB / 1.514 GB, free: 2.246 MB / 1.198 GB Notification: Performance of SimCode: time 1.042e-06/0.5038, allocations: 0 / 1.514 GB, free: 2.246 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0891/0.5929, allocations: 9.952 MB / 1.524 GB, free: 8.59 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.455, allocations: 9.875 kB / 1.524 GB, free: 8.582 MB / 1.214 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Sensors_Examples_Velocity.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_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_Velocity.fmu) > Buildings_13_Buildings.Fluid.Sensors.Examples.Velocity_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.819299809634686]