Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 104.5 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 190.3 kB / 22.1 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 207.6 MB / 232.8 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2958/0.2958, allocations: 55.67 MB / 340.7 MB, free: 13.97 MB / 286.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Annex60.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002286/0.002286, allocations: 82.22 kB / 482.1 MB, free: 6.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5573, allocations: 62.86 MB / 0.5322 GB, free: 7.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2554/0.8126, allocations: 166.3 MB / 0.6945 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003284/0.8159, allocations: 1.511 MB / 0.696 GB, free: 14.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.8162, allocations: 15.88 kB / 0.696 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009558/0.8172, allocations: 238.5 kB / 0.6963 GB, free: 14.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.8188, allocations: 0.6377 MB / 0.6969 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002166/0.821, allocations: 0.7032 MB / 0.6976 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001599/0.8226, allocations: 1.064 MB / 0.6986 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000452/0.8231, allocations: 269.5 kB / 0.6989 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.8242, allocations: 0.5644 MB / 0.6994 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004824/0.8246, allocations: 346.7 kB / 0.6997 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.297e-05/0.8247, allocations: 40 kB / 0.6998 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.8259, allocations: 0.5415 MB / 0.7003 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.8262, allocations: 191.5 kB / 0.7005 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003216/0.8265, allocations: 266.8 kB / 0.7007 GB, free: 9.801 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.8278, allocations: 0.867 MB / 0.7016 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8278, allocations: 0 / 0.7016 GB, free: 8.938 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8278, allocations: 0 / 0.7016 GB, free: 8.938 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8278, allocations: 4 kB / 0.7016 GB, free: 8.934 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001576/0.8294, allocations: 0.7112 MB / 0.7023 GB, free: 8.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.472e-05/0.8295, allocations: 12.02 kB / 0.7023 GB, free: 8.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.8306, allocations: 155.6 kB / 0.7025 GB, free: 8.027 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/0.8312, allocations: 292.9 kB / 0.7027 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.8312, allocations: 32.94 kB / 0.7028 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.8313, allocations: 32 kB / 0.7028 GB, free: 7.648 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008369/0.8321, allocations: 426.9 kB / 0.7032 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.8321, allocations: 0 / 0.7032 GB, free: 7.219 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.621e-05/0.8322, allocations: 16 kB / 0.7032 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.8322, allocations: 12 kB / 0.7032 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006276/0.8328, allocations: 303.7 kB / 0.7035 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002405/0.8352, allocations: 1.447 MB / 0.7049 GB, free: 5.332 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.8355, allocations: 122.5 kB / 0.705 GB, free: 5.203 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002022/0.8357, allocations: 84.73 kB / 0.7051 GB, free: 5.117 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.8361, allocations: 35.95 kB / 0.7052 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.8361, allocations: 42.48 kB / 0.7052 GB, free: 5.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.243e-06/0.8361, allocations: 0 / 0.7052 GB, free: 5.031 MB / 0.545 GB Notification: Performance of matching and sorting (n=14): time 0.0007581/0.8369, allocations: 269.6 kB / 0.7055 GB, free: 4.762 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.8369, allocations: 55.41 kB / 0.7055 GB, free: 4.695 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.8374, allocations: 445.8 kB / 0.7059 GB, free: 4.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.169e-05/0.8375, allocations: 25.7 kB / 0.706 GB, free: 4.223 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.8377, allocations: 240 kB / 0.7062 GB, free: 3.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-05/0.8377, allocations: 55.53 kB / 0.7062 GB, free: 3.93 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.8378, allocations: 61.66 kB / 0.7063 GB, free: 3.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.838, allocations: 342.8 kB / 0.7066 GB, free: 3.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.8382, allocations: 87.88 kB / 0.7067 GB, free: 3.434 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.8385, allocations: 161.4 kB / 0.7069 GB, free: 3.242 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004479/0.8389, allocations: 256.9 kB / 0.7071 GB, free: 2.961 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.8389, allocations: 0 / 0.7071 GB, free: 2.961 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006147/0.8396, allocations: 321.2 kB / 0.7074 GB, free: 2.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.8396, allocations: 8 kB / 0.7074 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.8396, allocations: 3.984 kB / 0.7074 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.8396, allocations: 4 kB / 0.7074 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.8399, allocations: 51.92 kB / 0.7075 GB, free: 2.574 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.8399, allocations: 15.86 kB / 0.7075 GB, free: 2.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.8402, allocations: 47.62 kB / 0.7075 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.8402, allocations: 12 kB / 0.7076 GB, free: 2.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (31): * Single equations (assignments): 31 * 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.0002105/0.8404, allocations: 173.8 kB / 0.7077 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.054e-05/0.8405, allocations: 39.77 kB / 0.7078 GB, free: 2.281 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.841, allocations: 224.8 kB / 0.708 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.841, allocations: 4 kB / 0.708 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.841, allocations: 8.047 kB / 0.708 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.841, allocations: 4 kB / 0.708 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.8421, allocations: 0.6896 MB / 0.7087 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.8421, allocations: 0 / 0.7087 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.8422, allocations: 27.98 kB / 0.7087 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.8422, allocations: 192 / 0.7087 GB, free: 1.254 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.8422, allocations: 8 kB / 0.7087 GB, free: 1.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.8422, allocations: 7.938 kB / 0.7087 GB, free: 1.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.8423, allocations: 3.938 kB / 0.7087 GB, free: 1.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.843, allocations: 455.9 kB / 0.7091 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.8432, allocations: 79.58 kB / 0.7092 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.8432, allocations: 8 kB / 0.7092 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.8436, allocations: 19.97 kB / 0.7092 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.134e-05/0.8436, allocations: 12.05 kB / 0.7093 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.8437, allocations: 19.98 kB / 0.7093 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003436/0.844, allocations: 307.1 kB / 0.7096 GB, free: 332 kB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.844, allocations: 0 / 0.7096 GB, free: 332 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004895/0.8445, allocations: 119.8 kB / 0.7097 GB, free: 212 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (14): * Single equations (assignments): 14 * 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.0004239/0.8449, allocations: 148.6 kB / 0.7098 GB, free: 60 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.8454, allocations: 191.6 kB / 0.71 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8454, allocations: 8.062 kB / 0.71 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.8456, allocations: 87.89 kB / 0.7101 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.8468, allocations: 233.6 kB / 0.7103 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.8481, allocations: 0.7407 MB / 0.711 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005128/0.8487, allocations: 0.8074 MB / 0.7118 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003312/0.849, allocations: 91.28 kB / 0.7119 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.953e-05/0.8491, allocations: 35.44 kB / 0.712 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of SimCode: time 8.52e-07/0.8491, allocations: 0 / 0.712 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of Templates: time 0.01777/0.8668, allocations: 8.527 MB / 0.7203 GB, free: 5.383 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.206192585639656] Failed to read output from testmodel.py, exit status != 0: 0.8771041575819254 0.892292191 0.061079799000000004 Calling exit ...