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.001261/0.001261, allocations: 105.2 kB / 20.49 MB, free: 1.488 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.001378/0.001378, allocations: 217.4 kB / 23.8 MB, free: 4.699 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.418/1.418, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.9457/0.9457, allocations: 150 MB / 464 MB, free: 10.51 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="cs",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.001925/0.001925, allocations: 64.53 kB / 0.642 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.197, allocations: 89.17 MB / 0.7291 GB, free: 1.297 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6146/0.8116, allocations: 171 MB / 0.8961 GB, free: 12.32 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003009/0.8146, allocations: 1.583 MB / 0.8977 GB, free: 10.73 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.8149, allocations: 19.81 kB / 0.8977 GB, free: 10.71 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.8154, allocations: 150.9 kB / 0.8979 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.8172, allocations: 0.7429 MB / 0.8986 GB, free: 9.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.8188, allocations: 0.6242 MB / 0.8992 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0009032/0.8197, allocations: 0.7292 MB / 0.8999 GB, free: 8.465 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.82, allocations: 185.4 kB / 0.9001 GB, free: 8.281 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001083/0.8211, allocations: 0.5216 MB / 0.9006 GB, free: 7.758 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.8214, allocations: 231 kB / 0.9008 GB, free: 7.531 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.19e-05/0.8215, allocations: 24 kB / 0.9008 GB, free: 7.508 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.823, allocations: 0.9391 MB / 0.9018 GB, free: 6.566 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.8231, allocations: 107.6 kB / 0.9019 GB, free: 6.461 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.8233, allocations: 183.1 kB / 0.902 GB, free: 6.281 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/0.8244, allocations: 0.7301 MB / 0.9027 GB, free: 5.555 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8244, allocations: 4 kB / 0.9027 GB, free: 5.551 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8244, allocations: 0 / 0.9027 GB, free: 5.551 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8244, allocations: 0 / 0.9027 GB, free: 5.551 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.001028/0.8254, allocations: 0.6017 MB / 0.9033 GB, free: 4.918 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8255, allocations: 12.03 kB / 0.9033 GB, free: 4.906 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.396e-05/0.8255, allocations: 4.5 kB / 0.9033 GB, free: 4.902 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.834e-05/0.8256, allocations: 62.55 kB / 0.9034 GB, free: 4.832 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.8267, allocations: 159.6 kB / 0.9036 GB, free: 4.676 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/0.8272, allocations: 268.5 kB / 0.9038 GB, free: 4.387 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.8272, allocations: 16.5 kB / 0.9038 GB, free: 4.371 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.049e-05/0.8273, allocations: 27.98 kB / 0.9039 GB, free: 4.344 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005111/0.8278, allocations: 285 kB / 0.9041 GB, free: 4.043 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.8278, allocations: 0 / 0.9041 GB, free: 4.043 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.8278, allocations: 8 kB / 0.9041 GB, free: 4.035 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.8278, allocations: 12 kB / 0.9041 GB, free: 4.023 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004222/0.8282, allocations: 200.9 kB / 0.9043 GB, free: 3.828 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.8297, allocations: 1.192 MB / 0.9055 GB, free: 2.535 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.83, allocations: 141.3 kB / 0.9056 GB, free: 2.391 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.8302, allocations: 89.73 kB / 0.9057 GB, free: 2.301 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004574/0.8307, allocations: 71.91 kB / 0.9058 GB, free: 2.23 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.8307, allocations: 42.47 kB / 0.9058 GB, free: 2.18 MB / 0.67 GB Notification: Performance of pre-optimization done (n=17): time 1.453e-06/0.8307, allocations: 0 / 0.9058 GB, free: 2.18 MB / 0.67 GB Notification: Performance of matching and sorting (n=17): time 0.000791/0.8315, allocations: 293.3 kB / 0.9061 GB, free: 1.887 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.8316, allocations: 51.41 kB / 0.9062 GB, free: 1.824 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.8319, allocations: 324.5 kB / 0.9065 GB, free: 1.504 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.8319, allocations: 33.7 kB / 0.9065 GB, free: 1.465 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.8321, allocations: 184.2 kB / 0.9067 GB, free: 1.281 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.8322, allocations: 63.48 kB / 0.9067 GB, free: 1.219 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.592e-05/0.8322, allocations: 45.66 kB / 0.9068 GB, free: 1.168 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.8324, allocations: 346.7 kB / 0.9071 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.8326, allocations: 67.95 kB / 0.9072 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.8328, allocations: 125.6 kB / 0.9073 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.8332, allocations: 211.7 kB / 0.9075 GB, free: 400 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.8332, allocations: 0 / 0.9075 GB, free: 400 kB / 0.67 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004813/0.8337, allocations: 253.3 kB / 0.9077 GB, free: 140 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.8337, allocations: 4 kB / 0.9077 GB, free: 136 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8337, allocations: 7.938 kB / 0.9078 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.8337, allocations: 0 / 0.9078 GB, free: 128 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.8339, allocations: 50.22 kB / 0.9078 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8339, allocations: 0 / 0.9078 GB, free: 80 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.8341, allocations: 35.77 kB / 0.9078 GB, free: 44 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.8342, allocations: 8.094 kB / 0.9078 GB, free: 36 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.0001807/0.8343, allocations: 163.7 kB / 0.908 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.8344, allocations: 27.81 kB / 0.908 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.8349, allocations: 230.1 kB / 0.9082 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.8349, allocations: 0 / 0.9082 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8349, allocations: 4 kB / 0.9083 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.8349, allocations: 0 / 0.9083 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.836, allocations: 0.6827 MB / 0.9089 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.836, allocations: 4.031 kB / 0.9089 GB, free: 14.85 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.8362, allocations: 36.8 kB / 0.909 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.8362, allocations: 7.938 kB / 0.909 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.8362, allocations: 4 kB / 0.909 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.8362, allocations: 7.984 kB / 0.909 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.8362, allocations: 4 kB / 0.909 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.8369, allocations: 447.6 kB / 0.9094 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.837, allocations: 55.66 kB / 0.9095 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.625e-05/0.8371, allocations: 13.75 kB / 0.9095 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001676/0.8372, allocations: 11.92 kB / 0.9095 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.8373, allocations: 15.92 kB / 0.9095 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.8373, allocations: 11.98 kB / 0.9095 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002319/0.8375, allocations: 227 kB / 0.9097 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8375, allocations: 4 kB / 0.9097 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003865/0.8379, allocations: 79.94 kB / 0.9098 GB, free: 13.91 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.001186/0.8391, allocations: 1.03 MB / 0.9108 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004394/0.8395, allocations: 175.9 kB / 0.911 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8395, allocations: 0 / 0.911 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.8397, allocations: 95.81 kB / 0.9111 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009211/0.8407, allocations: 179 kB / 0.9112 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.8445, allocations: 3.005 MB / 0.9142 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.845, allocations: 0.7832 MB / 0.9149 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.8452, allocations: 68.11 kB / 0.915 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.8453, allocations: 91.41 kB / 0.9151 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of SimCode: time 5.01e-07/0.8453, allocations: 0 / 0.9151 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03311/0.8784, allocations: 9.3 MB / 0.9242 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/12.02, allocations: 6.641 kB / 0.9242 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 & /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.807116126990877] Failed to read output from testmodel.py, exit status != 0: 12.181421580025926 12.206771421000001 11.377502801 Calling exit ...