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.001334/0.001334, 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.001654/0.001654, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.9615/0.9615, 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.965/1.965, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 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 1.603e-06/1.603e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.601e-05/2.761e-05, allocations: 5.938 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6981/0.6981, allocations: 147.6 MB / 1.145 GB, free: 7.82 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.7009, allocations: 1.476 MB / 1.146 GB, free: 6.82 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004608/0.7013, allocations: 14.75 kB / 1.146 GB, free: 6.812 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005592/0.7019, allocations: 152.8 kB / 1.146 GB, free: 6.715 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001961/0.7038, allocations: 0.7212 MB / 1.147 GB, free: 6.332 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.7055, allocations: 0.6526 MB / 1.148 GB, free: 6.016 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009114/0.7065, allocations: 0.6973 MB / 1.148 GB, free: 5.688 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003114/0.7068, allocations: 178.1 kB / 1.149 GB, free: 5.613 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.7079, allocations: 0.5992 MB / 1.149 GB, free: 5.352 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.7081, allocations: 194.2 kB / 1.149 GB, free: 5.293 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.7082, allocations: 27.09 kB / 1.149 GB, free: 5.289 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.7096, allocations: 0.7225 MB / 1.15 GB, free: 5.016 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.7097, allocations: 112.3 kB / 1.15 GB, free: 4.965 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.7099, allocations: 117.7 kB / 1.15 GB, free: 4.922 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.7111, allocations: 0.7406 MB / 1.151 GB, free: 4.68 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7111, allocations: 0 / 1.151 GB, free: 4.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7111, allocations: 1.344 kB / 1.151 GB, free: 4.68 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.144e-06/0.7111, allocations: 0 / 1.151 GB, free: 4.68 MB / 1.01 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.001124/0.7122, allocations: 0.5957 MB / 1.152 GB, free: 4.215 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.7123, allocations: 15.59 kB / 1.152 GB, free: 4.211 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.889e-05/0.7123, allocations: 56.03 kB / 1.152 GB, free: 4.16 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007958/0.7131, allocations: 151.3 kB / 1.152 GB, free: 4.133 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.7136, allocations: 262.3 kB / 1.152 GB, free: 3.934 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.7136, allocations: 17.44 kB / 1.152 GB, free: 3.926 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.7137, allocations: 24.38 kB / 1.152 GB, free: 3.918 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.7141, allocations: 286.1 kB / 1.152 GB, free: 3.77 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7141, allocations: 1.188 kB / 1.152 GB, free: 3.77 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.7141, allocations: 11.5 kB / 1.152 GB, free: 3.762 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.7141, allocations: 5.188 kB / 1.152 GB, free: 3.762 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003184/0.7145, allocations: 203.9 kB / 1.153 GB, free: 3.703 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.7156, allocations: 0.9951 MB / 1.154 GB, free: 2.938 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.7159, allocations: 137.2 kB / 1.154 GB, free: 2.879 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.716, allocations: 91.14 kB / 1.154 GB, free: 2.848 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/0.7163, allocations: 78.69 kB / 1.154 GB, free: 2.84 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/0.7163, allocations: 37.75 kB / 1.154 GB, free: 2.797 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 2.785e-06/0.7163, allocations: 0 / 1.154 GB, free: 2.797 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0005845/0.7169, allocations: 298.6 kB / 1.154 GB, free: 2.684 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.717, allocations: 55.23 kB / 1.154 GB, free: 2.621 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.7173, allocations: 319.1 kB / 1.155 GB, free: 2.453 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.7173, allocations: 37.8 kB / 1.155 GB, free: 2.414 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.7174, allocations: 182.9 kB / 1.155 GB, free: 2.258 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.7175, allocations: 63.45 kB / 1.155 GB, free: 2.207 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.558e-05/0.7175, allocations: 47.7 kB / 1.155 GB, free: 2.176 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.7176, allocations: 339.9 kB / 1.155 GB, free: 1.852 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7177, allocations: 70.05 kB / 1.155 GB, free: 1.832 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7179, allocations: 209.4 kB / 1.155 GB, free: 1.664 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.7183, allocations: 195.5 kB / 1.156 GB, free: 1.559 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.7183, allocations: 1.125 kB / 1.156 GB, free: 1.559 MB / 1.01 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003684/0.7186, allocations: 259.1 kB / 1.156 GB, free: 1.445 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.7186, allocations: 6.188 kB / 1.156 GB, free: 1.445 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.7187, allocations: 2.438 kB / 1.156 GB, free: 1.445 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7187, allocations: 6.109 kB / 1.156 GB, free: 1.441 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.7188, allocations: 48.28 kB / 1.156 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.7188, allocations: 3.781 kB / 1.156 GB, free: 1.434 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.719, allocations: 34.52 kB / 1.156 GB, free: 1.414 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.719, allocations: 7.797 kB / 1.156 GB, free: 1.414 MB / 1.01 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.0001289/0.7191, allocations: 154.2 kB / 1.156 GB, free: 1.277 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.7192, allocations: 33.88 kB / 1.156 GB, free: 1.258 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.7195, allocations: 228.1 kB / 1.156 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7195, allocations: 1.125 kB / 1.156 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.7195, allocations: 2.141 kB / 1.156 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.7196, allocations: 0.75 kB / 1.156 GB, free: 1.16 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008667/0.7204, allocations: 0.6635 MB / 1.157 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.7204, allocations: 1.781 kB / 1.157 GB, free: 0.6953 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.7205, allocations: 36.17 kB / 1.157 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.7205, allocations: 3.406 kB / 1.157 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.7206, allocations: 4.078 kB / 1.157 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.7206, allocations: 7.219 kB / 1.157 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7206, allocations: 2.766 kB / 1.157 GB, free: 0.6875 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004907/0.7211, allocations: 451 kB / 1.158 GB, free: 412 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.048e-05/0.7211, allocations: 45.28 kB / 1.158 GB, free: 388 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.7212, allocations: 4.109 kB / 1.158 GB, free: 388 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.7213, allocations: 12.83 kB / 1.158 GB, free: 384 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.7213, allocations: 23.95 kB / 1.158 GB, free: 372 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.7213, allocations: 6.688 kB / 1.158 GB, free: 372 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001903/0.7215, allocations: 227 kB / 1.158 GB, free: 252 kB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.7215, allocations: 4.062 kB / 1.158 GB, free: 248 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003654/0.7219, allocations: 89.94 kB / 1.158 GB, free: 228 kB / 1.01 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.0008672/0.7228, allocations: 1.025 MB / 1.159 GB, free: 15.39 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0003209/0.7231, allocations: 177.9 kB / 1.159 GB, free: 15.34 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7231, allocations: 0 / 1.159 GB, free: 15.34 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.7232, allocations: 90.92 kB / 1.159 GB, free: 15.32 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.7238, allocations: 157.2 kB / 1.159 GB, free: 15.28 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.7269, allocations: 2.939 MB / 1.162 GB, free: 13.33 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.7271, allocations: 177.6 kB / 1.162 GB, free: 13.24 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.7273, allocations: 66.67 kB / 1.162 GB, free: 13.23 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.7274, allocations: 93.36 kB / 1.163 GB, free: 13.16 MB / 1.026 GB Notification: Performance of SimCode: time 1.703e-06/0.7274, allocations: 0 / 1.163 GB, free: 13.16 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09936/0.8268, allocations: 10.08 MB / 1.172 GB, free: 11.55 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.674/8.501, allocations: 5.359 kB / 1.172 GB, free: 11.54 MB / 1.026 GB " [Timeout remaining time 291] (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: 13.516636709682643]