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.001341/0.001341, allocations: 78.8 kB / 19.94 MB, free: 1.773 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.001416/0.001416, allocations: 160.6 kB / 23.21 MB, free: 4.898 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.395/1.395, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.1 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.9064/0.9064, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.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: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 3.938 kB / 0.5547 GB, free: 2.605 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.718e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.602 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.5017/0.5017, allocations: 147.5 MB / 0.6988 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002599/0.5043, allocations: 1.458 MB / 0.7002 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.5046, allocations: 13.44 kB / 0.7002 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.5052, allocations: 156.4 kB / 0.7004 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.5072, allocations: 0.7144 MB / 0.7011 GB, free: 6.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.5091, allocations: 0.6501 MB / 0.7017 GB, free: 6.422 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001031/0.5102, allocations: 0.6882 MB / 0.7024 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.5105, allocations: 168.3 kB / 0.7025 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001218/0.5117, allocations: 0.578 MB / 0.7031 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.512, allocations: 193 kB / 0.7033 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 5.143e-05/0.5121, allocations: 22.47 kB / 0.7033 GB, free: 6.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5138, allocations: 0.7208 MB / 0.704 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.514, allocations: 117.4 kB / 0.7041 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.5142, allocations: 112.4 kB / 0.7042 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.5157, allocations: 0.7257 MB / 0.7049 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.5157, allocations: 0.9062 kB / 0.7049 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5157, allocations: 1 kB / 0.7049 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.5157, allocations: 0.9375 kB / 0.7049 GB, free: 6.355 MB / 0.5919 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.001041/0.5167, allocations: 0.581 MB / 0.7055 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5168, allocations: 11.14 kB / 0.7055 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.518, allocations: 151.1 kB / 0.7056 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.5185, allocations: 256.1 kB / 0.7059 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.5185, allocations: 17.31 kB / 0.7059 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.5186, allocations: 23.16 kB / 0.7059 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006135/0.5192, allocations: 278.4 kB / 0.7062 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.5192, allocations: 4.062 kB / 0.7062 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.5193, allocations: 6.094 kB / 0.7062 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.5193, allocations: 6.344 kB / 0.7062 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.5197, allocations: 195.7 kB / 0.7064 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.521, allocations: 0.916 MB / 0.7073 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/0.5213, allocations: 130.2 kB / 0.7074 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.5215, allocations: 87.81 kB / 0.7075 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/0.522, allocations: 77.47 kB / 0.7076 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.522, allocations: 32.5 kB / 0.7076 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.944e-06/0.522, allocations: 1.203 kB / 0.7076 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008362/0.5229, allocations: 278.5 kB / 0.7079 GB, free: 5.016 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.5229, allocations: 53.56 kB / 0.7079 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/0.5232, allocations: 243.9 kB / 0.7082 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.5232, allocations: 30.17 kB / 0.7082 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5234, allocations: 186.9 kB / 0.7084 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/0.5234, allocations: 57.45 kB / 0.7084 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.5235, allocations: 41.09 kB / 0.7085 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.5236, allocations: 335.2 kB / 0.7088 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.5238, allocations: 64.7 kB / 0.7088 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002885/0.5241, allocations: 202.9 kB / 0.709 GB, free: 4.188 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004124/0.5245, allocations: 194.4 kB / 0.7092 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5245, allocations: 0.6562 kB / 0.7092 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005016/0.525, allocations: 237.1 kB / 0.7094 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.525, allocations: 6.188 kB / 0.7095 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.525, allocations: 1.562 kB / 0.7095 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.525, allocations: 6.594 kB / 0.7095 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.5253, allocations: 38.12 kB / 0.7095 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.5253, allocations: 6.281 kB / 0.7095 GB, free: 4.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002094/0.5255, allocations: 28.36 kB / 0.7095 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/0.5255, allocations: 10.84 kB / 0.7095 GB, free: 4.09 MB / 0.5919 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.000164/0.5257, allocations: 158.4 kB / 0.7097 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.522e-05/0.5257, allocations: 27.83 kB / 0.7097 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/0.5264, allocations: 210.3 kB / 0.7099 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5264, allocations: 2.781 kB / 0.7099 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5264, allocations: 0.5625 kB / 0.7099 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.5264, allocations: 0.5312 kB / 0.7099 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.5275, allocations: 0.6018 MB / 0.7105 GB, free: 3.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.5275, allocations: 6.969 kB / 0.7105 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.5277, allocations: 32.7 kB / 0.7105 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.5277, allocations: 3.844 kB / 0.7105 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.5277, allocations: 10.47 kB / 0.7106 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.5277, allocations: 5.109 kB / 0.7106 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.5277, allocations: 8.062 kB / 0.7106 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.5283, allocations: 420.5 kB / 0.711 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.569e-05/0.5284, allocations: 41.5 kB / 0.711 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.5284, allocations: 7.188 kB / 0.711 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/0.5286, allocations: 16 kB / 0.711 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.5286, allocations: 16.5 kB / 0.711 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.5286, allocations: 6.562 kB / 0.7111 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001253/0.5288, allocations: 171.5 kB / 0.7112 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5288, allocations: 1.094 kB / 0.7112 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004731/0.5292, allocations: 88.45 kB / 0.7113 GB, free: 3.305 MB / 0.5919 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.0003086/0.5295, allocations: 153 kB / 0.7115 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.53, allocations: 169.1 kB / 0.7116 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.53, allocations: 0.5 kB / 0.7116 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.5303, allocations: 82.27 kB / 0.7117 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006889/0.5309, allocations: 112 kB / 0.7118 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.5318, allocations: 0.5516 MB / 0.7123 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5319, allocations: 169.1 kB / 0.7125 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.5321, allocations: 54.27 kB / 0.7125 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.5322, allocations: 25.53 kB / 0.7126 GB, free: 2.805 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.5322, allocations: 4.906 kB / 0.7126 GB, free: 2.801 MB / 0.5919 GB Notification: Performance of Templates: time 0.008685/0.5408, allocations: 4.552 MB / 0.717 GB, free: 2.535 MB / 0.5919 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: 5.828159458935261] Failed to read output from testmodel.py, exit status != 0: 0.5494798496365547 0.558926998 0.040864046 Calling exit ...