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.001133/0.001133, allocations: 76.5 kB / 19.92 MB, free: 4.633 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.001331/0.001331, allocations: 170.3 kB / 23.2 MB, free: 1.359 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.9103/0.9103, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] 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.5769/0.5769, allocations: 114 MB / 373.9 MB, free: 8.727 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.784e-05, allocations: 4.391 kB / 0.5542 GB, free: 2.773 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.4139/0.4139, allocations: 147.6 MB / 0.6983 GB, free: 41.66 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.4155, allocations: 1.477 MB / 0.6998 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001975/0.4157, allocations: 13.19 kB / 0.6998 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.4161, allocations: 156.9 kB / 0.6999 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.4172, allocations: 0.7179 MB / 0.7006 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008377/0.418, allocations: 0.6563 MB / 0.7013 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.4185, allocations: 0.6965 MB / 0.7019 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.4187, allocations: 177.8 kB / 0.7021 GB, free: 41.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006556/0.4194, allocations: 0.6027 MB / 0.7027 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.4196, allocations: 193 kB / 0.7029 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.4196, allocations: 27.53 kB / 0.7029 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006652/0.4203, allocations: 0.7156 MB / 0.7036 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.4203, allocations: 119.6 kB / 0.7037 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.319e-05/0.4204, allocations: 118.5 kB / 0.7038 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0005796/0.421, allocations: 0.7374 MB / 0.7046 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.421, allocations: 4.094 kB / 0.7046 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.413e-06/0.421, allocations: 0 / 0.7046 GB, free: 41.49 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.421, allocations: 1.875 kB / 0.7046 GB, free: 41.49 MB / 0.6355 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.0005896/0.4216, allocations: 0.5956 MB / 0.7051 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.4217, allocations: 9.656 kB / 0.7051 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.4217, allocations: 54.84 kB / 0.7052 GB, free: 41.04 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005779/0.4223, allocations: 153.2 kB / 0.7053 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.4226, allocations: 265.6 kB / 0.7056 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.4226, allocations: 22.41 kB / 0.7056 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.4227, allocations: 25.53 kB / 0.7056 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.423, allocations: 280.9 kB / 0.7059 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.423, allocations: 1.594 kB / 0.7059 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.423, allocations: 10.91 kB / 0.7059 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.423, allocations: 5.719 kB / 0.7059 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.4232, allocations: 200.6 kB / 0.7061 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.424, allocations: 0.9915 MB / 0.7071 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/0.4242, allocations: 145.8 kB / 0.7072 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.722e-05/0.4243, allocations: 91.58 kB / 0.7073 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/0.4245, allocations: 70.41 kB / 0.7074 GB, free: 40.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.626e-05/0.4245, allocations: 40.72 kB / 0.7074 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.282e-06/0.4245, allocations: 0 / 0.7074 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0004402/0.425, allocations: 295.9 kB / 0.7077 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.425, allocations: 55.5 kB / 0.7078 GB, free: 39.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.4252, allocations: 315.3 kB / 0.7081 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.221e-05/0.4252, allocations: 31.67 kB / 0.7081 GB, free: 39.86 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.4253, allocations: 184.8 kB / 0.7083 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.4253, allocations: 62.08 kB / 0.7083 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.4253, allocations: 50.98 kB / 0.7084 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.4254, allocations: 344.4 kB / 0.7087 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.4255, allocations: 65.97 kB / 0.7088 GB, free: 39.38 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.4256, allocations: 201.1 kB / 0.709 GB, free: 39.23 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.4258, allocations: 197.4 kB / 0.7091 GB, free: 39.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4258, allocations: 4.812 kB / 0.7091 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002481/0.426, allocations: 252 kB / 0.7094 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.426, allocations: 6.719 kB / 0.7094 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.426, allocations: 2.812 kB / 0.7094 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.426, allocations: 7.594 kB / 0.7094 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4262, allocations: 48.25 kB / 0.7095 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.4262, allocations: 5.344 kB / 0.7095 GB, free: 39.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.4263, allocations: 34.7 kB / 0.7095 GB, free: 39.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.4263, allocations: 5.781 kB / 0.7095 GB, free: 39.11 MB / 0.6355 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 7.969e-05/0.4264, allocations: 158.4 kB / 0.7096 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.4264, allocations: 32.44 kB / 0.7097 GB, free: 38.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.4267, allocations: 233.9 kB / 0.7099 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.4267, allocations: 2.75 kB / 0.7099 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4267, allocations: 0.9375 kB / 0.7099 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4267, allocations: 0 / 0.7099 GB, free: 38.93 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.4273, allocations: 0.6545 MB / 0.7105 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.4273, allocations: 2.875 kB / 0.7105 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.4274, allocations: 36.92 kB / 0.7106 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4274, allocations: 2.531 kB / 0.7106 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.4274, allocations: 9.781 kB / 0.7106 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4274, allocations: 8.969 kB / 0.7106 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4274, allocations: 0.7188 kB / 0.7106 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003507/0.4277, allocations: 447.3 kB / 0.711 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4278, allocations: 47.34 kB / 0.7111 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4278, allocations: 6.781 kB / 0.7111 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.488e-05/0.4279, allocations: 11.61 kB / 0.7111 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.4279, allocations: 18.91 kB / 0.7111 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.4279, allocations: 12.7 kB / 0.7111 GB, free: 38.38 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001185/0.4281, allocations: 224.2 kB / 0.7113 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4281, allocations: 0 / 0.7113 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002525/0.4283, allocations: 90.48 kB / 0.7114 GB, free: 38.28 MB / 0.6355 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.0005654/0.4289, allocations: 1.028 MB / 0.7124 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002518/0.4291, allocations: 178.8 kB / 0.7126 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4291, allocations: 0 / 0.7126 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.4292, allocations: 86.86 kB / 0.7127 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.4297, allocations: 163.3 kB / 0.7128 GB, free: 37.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.4317, allocations: 2.96 MB / 0.7157 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.262e-05/0.4318, allocations: 174.5 kB / 0.7159 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.4319, allocations: 61.58 kB / 0.7159 GB, free: 35.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.848e-05/0.432, allocations: 94.91 kB / 0.716 GB, free: 35.89 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.432, allocations: 4.688 kB / 0.716 GB, free: 35.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.4539, allocations: 10.06 MB / 0.7259 GB, free: 34.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.435, allocations: 1.656 kB / 0.7259 GB, free: 34.5 MB / 0.6355 GB " [Timeout remaining time 652] (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: 9.9532848643139] Failed to read output from testmodel.py, exit status != 0: 7.51614650990814 7.5261387189999995 7.102918417 Calling exit ...