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.001589/0.001589, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001479/0.001479, allocations: 210.7 kB / 22.99 MB, free: 4.609 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.9478/0.9478, allocations: 149.9 MB / 463 MB, free: 10.31 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.00222/0.00222, allocations: 64.22 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1791, allocations: 89.17 MB / 0.7282 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5709/0.75, allocations: 147.7 MB / 0.8724 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003059/0.753, allocations: 1.49 MB / 0.8738 GB, free: 84 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003404/0.7534, allocations: 19.81 kB / 0.8738 GB, free: 64 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.754, allocations: 155 kB / 0.874 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001989/0.756, allocations: 0.6961 MB / 0.8747 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.7576, allocations: 0.6273 MB / 0.8753 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008442/0.7584, allocations: 0.7254 MB / 0.876 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003397/0.7588, allocations: 185.4 kB / 0.8762 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.7598, allocations: 0.5177 MB / 0.8767 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003129/0.7602, allocations: 219 kB / 0.8769 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.214e-05/0.7602, allocations: 28 kB / 0.8769 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.7614, allocations: 0.705 MB / 0.8776 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.7615, allocations: 115.6 kB / 0.8777 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.7617, allocations: 139.4 kB / 0.8778 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009516/0.7626, allocations: 0.7144 MB / 0.8785 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7626, allocations: 0 / 0.8785 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7626, allocations: 0 / 0.8785 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7626, allocations: 0 / 0.8785 GB, free: 11.24 MB / 0.6544 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.000967/0.7636, allocations: 0.594 MB / 0.8791 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.7637, allocations: 12.02 kB / 0.8791 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.015e-05/0.7637, allocations: 58.55 kB / 0.8792 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.7648, allocations: 167.5 kB / 0.8793 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.7654, allocations: 268.5 kB / 0.8796 GB, free: 10.08 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.7654, allocations: 16.5 kB / 0.8796 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.781e-05/0.7655, allocations: 24 kB / 0.8796 GB, free: 10.04 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.766, allocations: 285.9 kB / 0.8799 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.766, allocations: 0 / 0.8799 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.766, allocations: 12 kB / 0.8799 GB, free: 9.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.766, allocations: 4 kB / 0.8799 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.7664, allocations: 204.9 kB / 0.8801 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.7679, allocations: 0.9947 MB / 0.8811 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.7682, allocations: 135.1 kB / 0.8812 GB, free: 8.332 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.7683, allocations: 93.98 kB / 0.8813 GB, free: 8.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004583/0.7688, allocations: 75.86 kB / 0.8814 GB, free: 8.164 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.7688, allocations: 38.47 kB / 0.8814 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.7688, allocations: 0 / 0.8814 GB, free: 8.117 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0007786/0.7696, allocations: 295.3 kB / 0.8817 GB, free: 7.824 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.916e-05/0.7697, allocations: 55.41 kB / 0.8818 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000346/0.77, allocations: 328.4 kB / 0.8821 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.77, allocations: 25.7 kB / 0.8821 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.7702, allocations: 188.3 kB / 0.8823 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.453e-05/0.7702, allocations: 67.42 kB / 0.8823 GB, free: 7.148 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.778e-05/0.7703, allocations: 45.7 kB / 0.8824 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.7705, allocations: 342.8 kB / 0.8827 GB, free: 6.754 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.7706, allocations: 75.89 kB / 0.8828 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.7709, allocations: 206.9 kB / 0.883 GB, free: 6.441 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003791/0.7713, allocations: 194.2 kB / 0.8832 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7713, allocations: 0 / 0.8832 GB, free: 6.234 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004954/0.7718, allocations: 260.1 kB / 0.8834 GB, free: 5.977 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.7718, allocations: 8 kB / 0.8834 GB, free: 5.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.7718, allocations: 3.984 kB / 0.8834 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.7718, allocations: 4.5 kB / 0.8834 GB, free: 5.961 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.772, allocations: 39.92 kB / 0.8835 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.772, allocations: 6.109 kB / 0.8835 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.7722, allocations: 37.02 kB / 0.8835 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.7723, allocations: 8 kB / 0.8835 GB, free: 5.875 MB / 0.6544 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.0001518/0.7724, allocations: 157.8 kB / 0.8837 GB, free: 5.711 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.7725, allocations: 35.75 kB / 0.8837 GB, free: 5.676 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004891/0.773, allocations: 228.5 kB / 0.8839 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.773, allocations: 0.5 kB / 0.8839 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.773, allocations: 0 / 0.8839 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.773, allocations: 0 / 0.8839 GB, free: 5.449 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.7741, allocations: 0.6591 MB / 0.8846 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7741, allocations: 2.812 kB / 0.8846 GB, free: 4.719 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.7742, allocations: 35.97 kB / 0.8846 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.7742, allocations: 3.938 kB / 0.8846 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.7742, allocations: 11.94 kB / 0.8846 GB, free: 4.668 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.7743, allocations: 4 kB / 0.8846 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.7743, allocations: 8.219 kB / 0.8846 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006909/0.7749, allocations: 451 kB / 0.885 GB, free: 4.18 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.7751, allocations: 55.72 kB / 0.8851 GB, free: 4.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.781e-05/0.7751, allocations: 7.938 kB / 0.8851 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7753, allocations: 8 kB / 0.8851 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.7753, allocations: 15.97 kB / 0.8851 GB, free: 4.094 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.7753, allocations: 8 kB / 0.8851 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002397/0.7756, allocations: 239.1 kB / 0.8854 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.7756, allocations: 0 / 0.8854 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003814/0.776, allocations: 79.89 kB / 0.8854 GB, free: 3.773 MB / 0.6544 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.00114/0.7771, allocations: 1.035 MB / 0.8865 GB, free: 2.688 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004281/0.7775, allocations: 175.8 kB / 0.8866 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.7775, allocations: 4 kB / 0.8866 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.7777, allocations: 83.83 kB / 0.8867 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008582/0.7786, allocations: 170 kB / 0.8869 GB, free: 2.281 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.7824, allocations: 3.013 MB / 0.8898 GB, free: 15.11 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001912/0.7826, allocations: 187.6 kB / 0.89 GB, free: 14.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0002031/0.7828, allocations: 62.92 kB / 0.8901 GB, free: 14.84 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.783, allocations: 87.41 kB / 0.8901 GB, free: 14.76 MB / 0.67 GB Notification: Performance of SimCode: time 5.72e-07/0.783, allocations: 0 / 0.8901 GB, free: 14.76 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.825, allocations: 10.18 MB / 0.9001 GB, free: 4.887 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.9, allocations: 4.766 kB / 0.9001 GB, free: 4.887 MB / 0.67 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 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.70162906916812] Failed to read output from testmodel.py, exit status != 0: 12.0180848329328 12.034307955 11.26835512 Calling exit ...