Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.001156/0.001156, allocations: 72.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.001285/0.001285, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8828/0.8828, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.5536/0.5536, allocations: 114 MB / 373.9 MB, free: 8.711 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.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.869e-05, allocations: 2.281 kB / 0.5542 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4184/0.4185, allocations: 147.5 MB / 0.6983 GB, free: 41.69 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00187/0.4203, allocations: 1.465 MB / 0.6997 GB, free: 41.65 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.4206, allocations: 17.81 kB / 0.6997 GB, free: 41.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000425/0.421, allocations: 150.6 kB / 0.6999 GB, free: 41.65 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.4223, allocations: 0.7176 MB / 0.7006 GB, free: 41.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.4235, allocations: 0.6477 MB / 0.7012 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.4242, allocations: 0.6835 MB / 0.7019 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002882/0.4245, allocations: 175 kB / 0.702 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009138/0.4254, allocations: 0.5805 MB / 0.7026 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002005/0.4256, allocations: 192 kB / 0.7028 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.293e-05/0.4256, allocations: 24.09 kB / 0.7028 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.4267, allocations: 0.7122 MB / 0.7035 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.4269, allocations: 116.8 kB / 0.7036 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.427, allocations: 112.9 kB / 0.7037 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0008231/0.4278, allocations: 0.7358 MB / 0.7044 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.4278, allocations: 0 / 0.7044 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4278, allocations: 0 / 0.7044 GB, free: 41.53 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.4278, allocations: 1 kB / 0.7044 GB, free: 41.53 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006343/0.4284, allocations: 0.5749 MB / 0.705 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.4285, allocations: 11.94 kB / 0.705 GB, free: 41.13 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.041e-05/0.4285, allocations: 57.81 kB / 0.7051 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.4291, allocations: 159.7 kB / 0.7052 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003635/0.4295, allocations: 252.4 kB / 0.7055 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.4295, allocations: 16.12 kB / 0.7055 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.4295, allocations: 21.72 kB / 0.7055 GB, free: 40.92 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003114/0.4299, allocations: 278.9 kB / 0.7058 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.4299, allocations: 0 / 0.7058 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.4299, allocations: 11.41 kB / 0.7058 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.4299, allocations: 8 kB / 0.7058 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.4301, allocations: 195.2 kB / 0.706 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008153/0.4309, allocations: 0.9735 MB / 0.7069 GB, free: 40.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.4311, allocations: 131.1 kB / 0.707 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.4312, allocations: 86.2 kB / 0.7071 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002657/0.4315, allocations: 75.38 kB / 0.7072 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.4315, allocations: 38.41 kB / 0.7072 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.4315, allocations: 0 / 0.7072 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004652/0.432, allocations: 282.7 kB / 0.7075 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.432, allocations: 56.5 kB / 0.7076 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.4322, allocations: 308.7 kB / 0.7079 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.4322, allocations: 33.14 kB / 0.7079 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.83e-05/0.4323, allocations: 184.5 kB / 0.7081 GB, free: 39.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4323, allocations: 54.8 kB / 0.7081 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.4323, allocations: 41.94 kB / 0.7082 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.144e-05/0.4324, allocations: 343.8 kB / 0.7085 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.4325, allocations: 64.95 kB / 0.7085 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.4326, allocations: 201.9 kB / 0.7087 GB, free: 39.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4328, allocations: 189.3 kB / 0.7089 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4328, allocations: 5.516 kB / 0.7089 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002581/0.4331, allocations: 232.6 kB / 0.7091 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.4331, allocations: 8.812 kB / 0.7092 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4331, allocations: 6.031 kB / 0.7092 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.4331, allocations: 0 / 0.7092 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.4332, allocations: 41.91 kB / 0.7092 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4332, allocations: 9.859 kB / 0.7092 GB, free: 39.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.4334, allocations: 37.17 kB / 0.7092 GB, free: 39.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.4334, allocations: 9.844 kB / 0.7093 GB, free: 39.18 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 (22): * Single equations (assignments): 22 * 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 8.502e-05/0.4335, allocations: 151.9 kB / 0.7094 GB, free: 39.07 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.4335, allocations: 36 kB / 0.7094 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002758/0.4338, allocations: 215.4 kB / 0.7096 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.4338, allocations: 0 / 0.7096 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4338, allocations: 2.938 kB / 0.7096 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.4338, allocations: 0.9062 kB / 0.7096 GB, free: 39 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.4344, allocations: 0.6314 MB / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4344, allocations: 0 / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.476e-05/0.4345, allocations: 37.28 kB / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.4345, allocations: 4.062 kB / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.4345, allocations: 10.56 kB / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.4345, allocations: 0 / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4345, allocations: 8.156 kB / 0.7103 GB, free: 38.68 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.4348, allocations: 430.4 kB / 0.7107 GB, free: 38.47 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.4349, allocations: 48.64 kB / 0.7108 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.4349, allocations: 10.97 kB / 0.7108 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.743e-05/0.435, allocations: 11.27 kB / 0.7108 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/0.4351, allocations: 13.44 kB / 0.7108 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.4351, allocations: 5.156 kB / 0.7108 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001241/0.4352, allocations: 226 kB / 0.711 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4352, allocations: 2.172 kB / 0.711 GB, free: 38.37 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002881/0.4355, allocations: 79.42 kB / 0.7111 GB, free: 38.36 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 (15): * Single equations (assignments): 15 * 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.0006048/0.4361, allocations: 1.012 MB / 0.7121 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.4364, allocations: 167 kB / 0.7123 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4364, allocations: 0 / 0.7123 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.4365, allocations: 90.77 kB / 0.7123 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005965/0.4371, allocations: 150 kB / 0.7125 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00234/0.4394, allocations: 2.877 MB / 0.7153 GB, free: 36.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.539e-05/0.4395, allocations: 170.5 kB / 0.7155 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000175/0.4397, allocations: 63.31 kB / 0.7155 GB, free: 35.99 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.034e-05/0.4398, allocations: 85.53 kB / 0.7156 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.4398, allocations: 4.719 kB / 0.7156 GB, free: 35.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02693/0.4667, allocations: 9.874 MB / 0.7252 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.158/7.624, allocations: 7.812 kB / 0.7252 GB, free: 34.59 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_VolumeFlowRate.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.084116172976792] Failed to read output from testmodel.py, exit status != 0: 7.708005261607468 7.718678899 7.288741598 Calling exit ...