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.001349/0.001349, allocations: 105 kB / 20.45 MB, free: 1.512 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.001478/0.001478, allocations: 210.9 kB / 23.76 MB, free: 4.738 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.471/1.471, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.9518/0.9518, allocations: 150 MB / 463.9 MB, free: 10.52 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: translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") [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.002088/0.002088, allocations: 66.47 kB / 0.6425 GB, free: 9.895 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2031, allocations: 89.18 MB / 0.7296 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6164/0.8195, allocations: 171 MB / 0.8966 GB, free: 12.07 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.823, allocations: 1.57 MB / 0.8981 GB, free: 10.49 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005504/0.8235, allocations: 15.88 kB / 0.8981 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006611/0.8242, allocations: 150.9 kB / 0.8983 GB, free: 10.33 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002272/0.8265, allocations: 0.739 MB / 0.899 GB, free: 9.586 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001942/0.8284, allocations: 0.6349 MB / 0.8996 GB, free: 8.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001163/0.8296, allocations: 0.7129 MB / 0.9003 GB, free: 8.234 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.83, allocations: 177.4 kB / 0.9005 GB, free: 8.059 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001292/0.8313, allocations: 0.5022 MB / 0.901 GB, free: 7.555 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000465/0.8318, allocations: 231 kB / 0.9012 GB, free: 7.328 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 6.726e-05/0.8318, allocations: 24 kB / 0.9012 GB, free: 7.305 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.8338, allocations: 0.9313 MB / 0.9021 GB, free: 6.371 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.834, allocations: 103.7 kB / 0.9022 GB, free: 6.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003033/0.8343, allocations: 167.1 kB / 0.9024 GB, free: 6.105 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001756/0.8361, allocations: 0.7231 MB / 0.9031 GB, free: 5.387 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8361, allocations: 0 / 0.9031 GB, free: 5.387 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8361, allocations: 4 kB / 0.9031 GB, free: 5.383 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.8361, allocations: 0 / 0.9031 GB, free: 5.383 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001251/0.8373, allocations: 0.59 MB / 0.9037 GB, free: 4.762 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.8374, allocations: 12.03 kB / 0.9037 GB, free: 4.75 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001276/0.8387, allocations: 155.6 kB / 0.9038 GB, free: 4.598 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.8393, allocations: 260.1 kB / 0.9041 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.8394, allocations: 16.44 kB / 0.9041 GB, free: 4.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.8394, allocations: 24 kB / 0.9041 GB, free: 4.281 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.84, allocations: 283.4 kB / 0.9044 GB, free: 3.98 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.84, allocations: 0 / 0.9044 GB, free: 3.98 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.84, allocations: 8 kB / 0.9044 GB, free: 3.973 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.84, allocations: 8 kB / 0.9044 GB, free: 3.965 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004357/0.8405, allocations: 187.8 kB / 0.9046 GB, free: 3.781 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.8422, allocations: 1.186 MB / 0.9057 GB, free: 2.496 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.8425, allocations: 130.4 kB / 0.9059 GB, free: 2.359 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.8427, allocations: 92.73 kB / 0.9059 GB, free: 2.266 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004871/0.8432, allocations: 75.91 kB / 0.906 GB, free: 2.191 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.8432, allocations: 38.5 kB / 0.906 GB, free: 2.145 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.8432, allocations: 0 / 0.906 GB, free: 2.145 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.000853/0.844, allocations: 274.7 kB / 0.9063 GB, free: 1.871 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.8441, allocations: 59.69 kB / 0.9064 GB, free: 1.801 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.8445, allocations: 320.5 kB / 0.9067 GB, free: 1.484 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8445, allocations: 29.64 kB / 0.9067 GB, free: 1.449 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.8447, allocations: 184.2 kB / 0.9069 GB, free: 1.266 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.8447, allocations: 51.59 kB / 0.9069 GB, free: 1.215 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.8448, allocations: 45.66 kB / 0.907 GB, free: 1.164 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.845, allocations: 338.8 kB / 0.9073 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.8452, allocations: 71.95 kB / 0.9074 GB, free: 0.7539 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.8454, allocations: 122.3 kB / 0.9075 GB, free: 0.6172 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003636/0.8458, allocations: 187.3 kB / 0.9077 GB, free: 428 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.8458, allocations: 4 kB / 0.9077 GB, free: 424 kB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000497/0.8463, allocations: 241.3 kB / 0.9079 GB, free: 176 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8463, allocations: 4 kB / 0.9079 GB, free: 172 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8463, allocations: 4 kB / 0.9079 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.8463, allocations: 96 / 0.9079 GB, free: 168 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.8465, allocations: 51.91 kB / 0.9079 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.8465, allocations: 4 kB / 0.908 GB, free: 112 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.8468, allocations: 28.64 kB / 0.908 GB, free: 84 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.8468, allocations: 12 kB / 0.908 GB, free: 72 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 (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 0.0001985/0.847, allocations: 149.8 kB / 0.9081 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.899e-05/0.8471, allocations: 27.81 kB / 0.9082 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005029/0.8476, allocations: 224.7 kB / 0.9084 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.8476, allocations: 4 kB / 0.9084 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.8476, allocations: 0 / 0.9084 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.8476, allocations: 3.984 kB / 0.9084 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.8488, allocations: 0.6592 MB / 0.909 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.8488, allocations: 0 / 0.909 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.8489, allocations: 35.86 kB / 0.9091 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.8489, allocations: 4 kB / 0.9091 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.849, allocations: 8 kB / 0.9091 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.849, allocations: 4.219 kB / 0.9091 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.849, allocations: 4 kB / 0.9091 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007353/0.8497, allocations: 443.5 kB / 0.9095 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.8498, allocations: 47.73 kB / 0.9095 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.8499, allocations: 3.984 kB / 0.9096 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.85, allocations: 12 kB / 0.9096 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/0.8501, allocations: 20.11 kB / 0.9096 GB, free: 14.32 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.8501, allocations: 12 kB / 0.9096 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002514/0.8504, allocations: 223.1 kB / 0.9098 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.8504, allocations: 0 / 0.9098 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004409/0.8508, allocations: 75.92 kB / 0.9099 GB, free: 14.02 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 (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.0003634/0.8512, allocations: 147.1 kB / 0.91 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.8517, allocations: 175.7 kB / 0.9102 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8517, allocations: 0 / 0.9102 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001921/0.8518, allocations: 82.17 kB / 0.9103 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008854/0.8527, allocations: 172.6 kB / 0.9104 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.8539, allocations: 0.6396 MB / 0.9111 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004611/0.8544, allocations: 0.7715 MB / 0.9118 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.585e-05/0.8545, allocations: 31.42 kB / 0.9118 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of SimCode: time 4.81e-07/0.8545, allocations: 4 kB / 0.9118 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of Templates: time 0.00931/0.8638, allocations: 4.838 MB / 0.9166 GB, free: 7.16 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.13848288799636] Failed to read output from testmodel.py, exit status != 0: 0.8733265039045364 0.8907317650000001 0.050510429 Calling exit ...