Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001235/0.001235, allocations: 115 kB / 19.7 MB, free: 2.043 MB / 14.72 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.001374/0.001374, allocations: 225.4 kB / 23.01 MB, free: 4.945 MB / 14.72 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9266/0.9266, allocations: 150 MB / 463.2 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 68.72 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1863, allocations: 89.16 MB / 0.7284 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6002/0.7864, allocations: 171 MB / 0.8954 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.002934/0.7894, allocations: 1.565 MB / 0.8969 GB, free: 10.72 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003154/0.7897, allocations: 15.88 kB / 0.8969 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.7902, allocations: 166.8 kB / 0.8971 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.792, allocations: 0.7312 MB / 0.8978 GB, free: 9.805 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.7936, allocations: 0.6425 MB / 0.8984 GB, free: 9.164 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009283/0.7945, allocations: 0.7253 MB / 0.8992 GB, free: 8.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003548/0.7949, allocations: 185.4 kB / 0.8993 GB, free: 8.254 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.796, allocations: 0.5177 MB / 0.8998 GB, free: 7.734 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.7963, allocations: 239.1 kB / 0.9001 GB, free: 7.5 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.7964, allocations: 24 kB / 0.9001 GB, free: 7.477 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.798, allocations: 0.9274 MB / 0.901 GB, free: 6.547 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.7981, allocations: 115.6 kB / 0.9011 GB, free: 6.434 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.7983, allocations: 167.2 kB / 0.9013 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.7994, allocations: 0.7417 MB / 0.902 GB, free: 5.531 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.7994, allocations: 0 / 0.902 GB, free: 5.531 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7994, allocations: 0 / 0.902 GB, free: 5.531 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7995, allocations: 0 / 0.902 GB, free: 5.531 MB / 0.67 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.001065/0.8005, allocations: 0.6057 MB / 0.9026 GB, free: 4.895 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.8006, allocations: 8.031 kB / 0.9026 GB, free: 4.887 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.364e-05/0.8006, allocations: 58.55 kB / 0.9026 GB, free: 4.82 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.8018, allocations: 159.5 kB / 0.9028 GB, free: 4.664 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.8024, allocations: 272.5 kB / 0.9031 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.358e-05/0.8024, allocations: 16.5 kB / 0.9031 GB, free: 4.355 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.8025, allocations: 24 kB / 0.9031 GB, free: 4.332 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005276/0.803, allocations: 289 kB / 0.9034 GB, free: 4.027 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.803, allocations: 0 / 0.9034 GB, free: 4.027 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.803, allocations: 11.98 kB / 0.9034 GB, free: 4.016 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.803, allocations: 8 kB / 0.9034 GB, free: 4.008 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.8035, allocations: 196.9 kB / 0.9036 GB, free: 3.816 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.805, allocations: 1.196 MB / 0.9047 GB, free: 2.52 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.8053, allocations: 139.1 kB / 0.9049 GB, free: 2.375 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.8054, allocations: 89.11 kB / 0.905 GB, free: 2.285 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004678/0.8059, allocations: 67.92 kB / 0.905 GB, free: 2.219 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.8059, allocations: 42.47 kB / 0.9051 GB, free: 2.168 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.806, allocations: 0 / 0.9051 GB, free: 2.168 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.0007909/0.8067, allocations: 297.2 kB / 0.9053 GB, free: 1.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.8068, allocations: 51.41 kB / 0.9054 GB, free: 1.809 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.8071, allocations: 324.5 kB / 0.9057 GB, free: 1.488 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.8072, allocations: 33.7 kB / 0.9057 GB, free: 1.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.8073, allocations: 188.2 kB / 0.9059 GB, free: 1.262 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.653e-05/0.8074, allocations: 59.48 kB / 0.906 GB, free: 1.203 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.449e-05/0.8074, allocations: 49.59 kB / 0.906 GB, free: 1.148 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8076, allocations: 346.8 kB / 0.9064 GB, free: 0.8008 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001692/0.8078, allocations: 67.94 kB / 0.9064 GB, free: 0.7344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.808, allocations: 129 kB / 0.9065 GB, free: 0.5898 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003685/0.8084, allocations: 206.2 kB / 0.9067 GB, free: 380 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8084, allocations: 0 / 0.9067 GB, free: 380 kB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004705/0.8088, allocations: 255.8 kB / 0.907 GB, free: 120 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.8088, allocations: 4 kB / 0.907 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.8088, allocations: 4 kB / 0.907 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.8089, allocations: 0 / 0.907 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.8091, allocations: 48.47 kB / 0.907 GB, free: 64 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.8091, allocations: 4.094 kB / 0.907 GB, free: 60 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.8093, allocations: 35.77 kB / 0.9071 GB, free: 24 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.8093, allocations: 12 kB / 0.9071 GB, free: 12 kB / 0.67 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.0001686/0.8095, allocations: 151.7 kB / 0.9072 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.8095, allocations: 34.44 kB / 0.9073 GB, free: 15.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004777/0.81, allocations: 230.6 kB / 0.9075 GB, free: 15.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.81, allocations: 4 kB / 0.9075 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.81, allocations: 4 kB / 0.9075 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.81, allocations: 3.984 kB / 0.9075 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.8111, allocations: 0.6747 MB / 0.9082 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.8111, allocations: 3.984 kB / 0.9082 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.8113, allocations: 31.98 kB / 0.9082 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.8113, allocations: 7.938 kB / 0.9082 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.8113, allocations: 7.938 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.8113, allocations: 4 kB / 0.9082 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.8113, allocations: 4 kB / 0.9082 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006733/0.812, allocations: 455.3 kB / 0.9086 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.8121, allocations: 55.66 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.8121, allocations: 8.812 kB / 0.9087 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.8123, allocations: 11.98 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.707e-05/0.8123, allocations: 11.98 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.8124, allocations: 8 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002344/0.8126, allocations: 235.1 kB / 0.909 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.8126, allocations: 96 / 0.909 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003911/0.813, allocations: 87.86 kB / 0.909 GB, free: 13.89 MB / 0.6856 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.00113/0.8141, allocations: 1.026 MB / 0.91 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.8146, allocations: 179.8 kB / 0.9102 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8146, allocations: 0 / 0.9102 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001936/0.8148, allocations: 87.83 kB / 0.9103 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000897/0.8157, allocations: 178 kB / 0.9105 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003939/0.8196, allocations: 3.007 MB / 0.9134 GB, free: 9.242 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.82, allocations: 0.7871 MB / 0.9142 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.8203, allocations: 63.5 kB / 0.9142 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.8204, allocations: 91.41 kB / 0.9143 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of SimCode: time 3.5e-07/0.8204, allocations: 0 / 0.9143 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.8605, allocations: 9.272 MB / 0.9234 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.83, allocations: 0 / 0.9234 GB, free: 15.25 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.591082168000867] Failed to read output from testmodel.py, exit status != 0: 11.934713495000324 11.949250442 11.146787672 Calling exit ...