Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.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.001308/0.001308, allocations: 105.8 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.00162/0.00162, allocations: 191.5 kB / 22.11 MB, free: 5.148 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.649/1.649, 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.3002/0.3002, allocations: 55.68 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") translateModel(Annex60.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity") [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.002935/0.002935, allocations: 78.22 kB / 482.1 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4341, allocations: 62.87 MB / 0.5322 GB, free: 7.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.Velocity): time 0.2433/0.6774, allocations: 166.3 MB / 0.6946 GB, free: 148 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00306/0.6805, allocations: 1.523 MB / 0.6961 GB, free: 14.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003054/0.6808, allocations: 15.88 kB / 0.6961 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008743/0.6816, allocations: 246.5 kB / 0.6963 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.6831, allocations: 0.6259 MB / 0.6969 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.685, allocations: 0.7159 MB / 0.6976 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.6864, allocations: 1.077 MB / 0.6987 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.6868, allocations: 273.5 kB / 0.6989 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.688, allocations: 0.5721 MB / 0.6995 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004958/0.6885, allocations: 354.6 kB / 0.6998 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.029e-05/0.6886, allocations: 44 kB / 0.6999 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00109/0.6897, allocations: 0.5455 MB / 0.7004 GB, free: 10.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.6899, allocations: 199.4 kB / 0.7006 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.6902, allocations: 258.9 kB / 0.7009 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.6916, allocations: 0.8823 MB / 0.7017 GB, free: 8.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6916, allocations: 0 / 0.7017 GB, free: 8.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6916, allocations: 0 / 0.7017 GB, free: 8.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.6916, allocations: 0 / 0.7017 GB, free: 8.828 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001479/0.6931, allocations: 0.7268 MB / 0.7024 GB, free: 8.07 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6931, allocations: 8.031 kB / 0.7024 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.6943, allocations: 151.6 kB / 0.7026 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000549/0.6948, allocations: 312.8 kB / 0.7029 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.365e-05/0.6949, allocations: 25 kB / 0.7029 GB, free: 7.555 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.6949, allocations: 39.94 kB / 0.7029 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/0.6957, allocations: 430.9 kB / 0.7033 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.6957, allocations: 0 / 0.7033 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.137e-05/0.6958, allocations: 20 kB / 0.7034 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6958, allocations: 8 kB / 0.7034 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/0.6965, allocations: 311.8 kB / 0.7037 GB, free: 6.746 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.699, allocations: 1.467 MB / 0.7051 GB, free: 5.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.6993, allocations: 134.5 kB / 0.7052 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.6995, allocations: 76.81 kB / 0.7053 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003378/0.6999, allocations: 39.94 kB / 0.7053 GB, free: 4.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.44e-05/0.6999, allocations: 38.56 kB / 0.7054 GB, free: 4.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.6999, allocations: 3.938 kB / 0.7054 GB, free: 4.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.0008002/0.7007, allocations: 293.2 kB / 0.7057 GB, free: 4.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.7008, allocations: 55.41 kB / 0.7057 GB, free: 4.504 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005521/0.7013, allocations: 449.8 kB / 0.7061 GB, free: 4.059 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.7014, allocations: 33.7 kB / 0.7062 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.7016, allocations: 236.1 kB / 0.7064 GB, free: 3.785 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.7016, allocations: 63.47 kB / 0.7065 GB, free: 3.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.7017, allocations: 57.94 kB / 0.7065 GB, free: 3.66 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7019, allocations: 346.8 kB / 0.7068 GB, free: 3.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.7021, allocations: 92.5 kB / 0.7069 GB, free: 3.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.7024, allocations: 166.3 kB / 0.7071 GB, free: 3.031 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004664/0.7029, allocations: 265.2 kB / 0.7073 GB, free: 2.738 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.7029, allocations: 0 / 0.7073 GB, free: 2.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006447/0.7035, allocations: 337 kB / 0.7077 GB, free: 2.402 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.7036, allocations: 4 kB / 0.7077 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.7036, allocations: 7.984 kB / 0.7077 GB, free: 2.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.7036, allocations: 7.938 kB / 0.7077 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/0.7039, allocations: 67.84 kB / 0.7078 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.7039, allocations: 4.25 kB / 0.7078 GB, free: 2.312 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.7042, allocations: 43.67 kB / 0.7078 GB, free: 2.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.7042, allocations: 8 kB / 0.7078 GB, free: 2.262 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 (33): * Single equations (assignments): 33 * 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.0002108/0.7044, allocations: 173.8 kB / 0.708 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.7045, allocations: 43.72 kB / 0.708 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005573/0.7051, allocations: 248.9 kB / 0.7083 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7051, allocations: 0 / 0.7083 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7051, allocations: 4 kB / 0.7083 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.7051, allocations: 0 / 0.7083 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001133/0.7062, allocations: 0.7091 MB / 0.7089 GB, free: 1.008 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.7062, allocations: 8.188 kB / 0.709 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.7064, allocations: 27.98 kB / 0.709 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.7064, allocations: 4 kB / 0.709 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.7064, allocations: 16.11 kB / 0.709 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.7064, allocations: 3.938 kB / 0.709 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7064, allocations: 4 kB / 0.709 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008307/0.7073, allocations: 468.1 kB / 0.7095 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.7075, allocations: 75.69 kB / 0.7095 GB, free: 388 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.7075, allocations: 8 kB / 0.7095 GB, free: 380 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/0.7079, allocations: 24.03 kB / 0.7096 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.7079, allocations: 11.92 kB / 0.7096 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.708, allocations: 19.98 kB / 0.7096 GB, free: 324 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00039/0.7084, allocations: 311.1 kB / 0.7099 GB, free: 20 kB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7084, allocations: 0 / 0.7099 GB, free: 20 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005651/0.709, allocations: 123.9 kB / 0.71 GB, free: 15.89 MB / 0.5606 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 (16): * Single equations (assignments): 16 * 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.0005987/0.7096, allocations: 148.1 kB / 0.7101 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005958/0.7102, allocations: 211.7 kB / 0.7103 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.7102, allocations: 4 kB / 0.7104 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.7104, allocations: 91.83 kB / 0.7104 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.7117, allocations: 244.2 kB / 0.7107 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.7131, allocations: 0.7614 MB / 0.7114 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.7136, allocations: 0.8114 MB / 0.7122 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.7139, allocations: 91.34 kB / 0.7123 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.965e-05/0.714, allocations: 31.44 kB / 0.7123 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.714, allocations: 0 / 0.7123 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.01955/0.7336, allocations: 8.633 MB / 0.7208 GB, free: 4.91 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.193473719060421] Failed to read output from testmodel.py, exit status != 0: 0.7443893644958735 0.7588603140000001 0.064134758 Calling exit ...