Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.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.0006804/0.0006804, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0006979/0.0006979, allocations: 212.7 kB / 23 MB, free: 2.977 MB / 13.93 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.9006/0.9006, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7369/0.7369, allocations: 203.8 MB / 0.5049 GB, free: 10.49 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") translateModel(IDEAS.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: IDEAS 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.001114/0.001114, allocations: 65.59 kB / 0.7194 GB, free: 3.551 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4363, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1393/0.5756, allocations: 147.7 MB / 0.9632 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002181/0.5778, allocations: 1.492 MB / 0.9647 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000267/0.5781, allocations: 19.81 kB / 0.9647 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.5785, allocations: 150.9 kB / 0.9649 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.5798, allocations: 0.7118 MB / 0.9656 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.5811, allocations: 0.6455 MB / 0.9662 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006807/0.5818, allocations: 0.7254 MB / 0.9669 GB, free: 13.69 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.5821, allocations: 196.4 kB / 0.9671 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009308/0.583, allocations: 0.5138 MB / 0.9676 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.5833, allocations: 227 kB / 0.9678 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.5833, allocations: 24 kB / 0.9678 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001006/0.5843, allocations: 0.705 MB / 0.9685 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.5844, allocations: 111.6 kB / 0.9686 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.5845, allocations: 147.3 kB / 0.9688 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008433/0.5854, allocations: 0.7047 MB / 0.9695 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5854, allocations: 0 / 0.9695 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5854, allocations: 0 / 0.9695 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.5854, allocations: 0 / 0.9695 GB, free: 11.07 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007263/0.5861, allocations: 0.6057 MB / 0.97 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5862, allocations: 12.03 kB / 0.9701 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006843/0.5868, allocations: 155.6 kB / 0.9702 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.5873, allocations: 264.5 kB / 0.9705 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.5873, allocations: 24.42 kB / 0.9705 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.143e-05/0.5873, allocations: 24 kB / 0.9705 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003444/0.5877, allocations: 285 kB / 0.9708 GB, free: 9.633 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5877, allocations: 4 kB / 0.9708 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.5877, allocations: 8 kB / 0.9708 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5877, allocations: 8 kB / 0.9708 GB, free: 9.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.588, allocations: 204.9 kB / 0.971 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008892/0.5888, allocations: 0.9251 MB / 0.9719 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.589, allocations: 146.4 kB / 0.972 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.5891, allocations: 88.81 kB / 0.9721 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002611/0.5894, allocations: 75.91 kB / 0.9722 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.5894, allocations: 30.56 kB / 0.9722 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.5894, allocations: 4 kB / 0.9722 GB, free: 8.082 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.0004913/0.5899, allocations: 289.6 kB / 0.9725 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.5899, allocations: 55.34 kB / 0.9726 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.5903, allocations: 260.2 kB / 0.9728 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.5903, allocations: 29.7 kB / 0.9728 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.5904, allocations: 196.2 kB / 0.973 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.5904, allocations: 59.48 kB / 0.9731 GB, free: 7.176 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.5905, allocations: 41.7 kB / 0.9731 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.961e-05/0.5906, allocations: 338.8 kB / 0.9734 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.961e-05/0.5907, allocations: 67.95 kB / 0.9735 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.5908, allocations: 203.6 kB / 0.9737 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002105/0.591, allocations: 199 kB / 0.9739 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.591, allocations: 4 kB / 0.9739 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002783/0.5913, allocations: 257.2 kB / 0.9741 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.5913, allocations: 4 kB / 0.9741 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.5913, allocations: 0 / 0.9741 GB, free: 6.012 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.5913, allocations: 7.984 kB / 0.9741 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.5915, allocations: 39.98 kB / 0.9742 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5915, allocations: 3.938 kB / 0.9742 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.5916, allocations: 27.88 kB / 0.9742 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.5916, allocations: 12 kB / 0.9742 GB, free: 5.922 MB / 0.7448 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 (24): * Single equations (assignments): 24 * 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.0001068/0.5917, allocations: 153.8 kB / 0.9744 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.5917, allocations: 27.81 kB / 0.9744 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.592, allocations: 233.8 kB / 0.9746 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.592, allocations: 4 kB / 0.9746 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.592, allocations: 0 / 0.9746 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.592, allocations: 0 / 0.9746 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006379/0.5927, allocations: 0.6285 MB / 0.9752 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.5927, allocations: 0 / 0.9752 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.705e-05/0.5928, allocations: 35.97 kB / 0.9753 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.5928, allocations: 4 kB / 0.9753 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5928, allocations: 8 kB / 0.9753 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5928, allocations: 3.938 kB / 0.9753 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5928, allocations: 12.16 kB / 0.9753 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.5932, allocations: 437.1 kB / 0.9757 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.5933, allocations: 47.77 kB / 0.9758 GB, free: 4.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.5933, allocations: 7.938 kB / 0.9758 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.237e-05/0.5934, allocations: 11.98 kB / 0.9758 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.5934, allocations: 19.91 kB / 0.9758 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.5934, allocations: 8 kB / 0.9758 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001029/0.5935, allocations: 183.2 kB / 0.976 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.5935, allocations: 0 / 0.976 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002995/0.5938, allocations: 95.81 kB / 0.9761 GB, free: 3.918 MB / 0.7448 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 (17): * Single equations (assignments): 17 * 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.0002181/0.594, allocations: 143.1 kB / 0.9762 GB, free: 3.77 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.5944, allocations: 175.9 kB / 0.9764 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5944, allocations: 4.062 kB / 0.9764 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5945, allocations: 91.81 kB / 0.9765 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.5949, allocations: 129.1 kB / 0.9766 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007785/0.5957, allocations: 0.6591 MB / 0.9772 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.5958, allocations: 171.5 kB / 0.9774 GB, free: 2.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.5959, allocations: 27.42 kB / 0.9774 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.5959, allocations: 0 / 0.9774 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of Templates: time 0.005035/0.6009, allocations: 4.5 MB / 0.9818 GB, free: 13.99 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.606181487906724] Failed to read output from testmodel.py, exit status != 0: 0.608162228949368 0.615249241 0.028120706000000002 Calling exit ...