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.001341/0.001341, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001656/0.001656, allocations: 211.8 kB / 22.25 MB, free: 4.863 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.585/1.585, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.356/1.356, allocations: 203.8 MB / 0.5041 GB, free: 4.602 MB / 414.1 MB " [Timeout remaining time 178] 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.002136/0.002136, allocations: 67.89 kB / 0.7187 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7465/0.7486, allocations: 102 MB / 0.8183 GB, free: 28.88 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.2071/0.9557, allocations: 147.7 MB / 0.9625 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003323/0.959, allocations: 1.492 MB / 0.964 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003702/0.9594, allocations: 19.81 kB / 0.964 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005431/0.9599, allocations: 146.9 kB / 0.9641 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.962, allocations: 0.7157 MB / 0.9648 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001832/0.9638, allocations: 0.6491 MB / 0.9654 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0009987/0.9648, allocations: 0.7177 MB / 0.9661 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003607/0.9651, allocations: 193.2 kB / 0.9663 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001234/0.9664, allocations: 0.5216 MB / 0.9668 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.9667, allocations: 223 kB / 0.9671 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 4.647e-05/0.9668, allocations: 24 kB / 0.9671 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.9681, allocations: 0.705 MB / 0.9678 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.9683, allocations: 111.6 kB / 0.9679 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001809/0.9684, allocations: 147.4 kB / 0.968 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.9695, allocations: 0.7086 MB / 0.9687 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9695, allocations: 3.938 kB / 0.9687 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9695, allocations: 0 / 0.9687 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.557e-05/0.9695, allocations: 0 / 0.9687 GB, free: 11.89 MB / 0.7481 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.001102/0.9706, allocations: 0.5901 MB / 0.9693 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.9707, allocations: 13.47 kB / 0.9693 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.9719, allocations: 159.6 kB / 0.9694 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.9725, allocations: 264.5 kB / 0.9697 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.9725, allocations: 24.48 kB / 0.9697 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.9726, allocations: 23.94 kB / 0.9697 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005487/0.9731, allocations: 292.9 kB / 0.97 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9731, allocations: 4 kB / 0.97 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.9731, allocations: 4 kB / 0.97 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.9732, allocations: 12 kB / 0.97 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004461/0.9736, allocations: 196.9 kB / 0.9702 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001418/0.975, allocations: 0.9329 MB / 0.9711 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.9753, allocations: 142.4 kB / 0.9713 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.9755, allocations: 94.45 kB / 0.9714 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000534/0.9761, allocations: 71.92 kB / 0.9714 GB, free: 8.961 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.979e-05/0.9761, allocations: 38.56 kB / 0.9715 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.9761, allocations: 0 / 0.9715 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0008462/0.977, allocations: 281.6 kB / 0.9717 GB, free: 8.633 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.977, allocations: 59.34 kB / 0.9718 GB, free: 8.562 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.9773, allocations: 256.2 kB / 0.972 GB, free: 8.309 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.9773, allocations: 37.7 kB / 0.9721 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.9775, allocations: 184.2 kB / 0.9723 GB, free: 8.082 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.9775, allocations: 59.48 kB / 0.9723 GB, free: 8.023 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/0.9776, allocations: 45.7 kB / 0.9724 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.9778, allocations: 334.8 kB / 0.9727 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.978, allocations: 71.94 kB / 0.9727 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.9783, allocations: 200.2 kB / 0.9729 GB, free: 7.336 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003988/0.9787, allocations: 205 kB / 0.9731 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.9787, allocations: 4 kB / 0.9731 GB, free: 7.113 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005037/0.9792, allocations: 253.2 kB / 0.9734 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.9792, allocations: 6.5 kB / 0.9734 GB, free: 6.855 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.9792, allocations: 4 kB / 0.9734 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.9792, allocations: 96 / 0.9734 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.9794, allocations: 47.97 kB / 0.9734 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9794, allocations: 4 kB / 0.9734 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001946/0.9796, allocations: 23.83 kB / 0.9735 GB, free: 6.777 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.9797, allocations: 11.98 kB / 0.9735 GB, free: 6.766 MB / 0.7481 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.0001642/0.9798, allocations: 146.8 kB / 0.9736 GB, free: 6.613 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.765e-05/0.9799, allocations: 35.69 kB / 0.9736 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005204/0.9804, allocations: 231.5 kB / 0.9739 GB, free: 6.344 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.9804, allocations: 7.938 kB / 0.9739 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.9804, allocations: 4 kB / 0.9739 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.9804, allocations: 0 / 0.9739 GB, free: 6.332 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.9815, allocations: 0.6207 MB / 0.9745 GB, free: 5.652 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9815, allocations: 8.203 kB / 0.9745 GB, free: 5.645 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.9817, allocations: 31.98 kB / 0.9745 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.9817, allocations: 4 kB / 0.9745 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.9817, allocations: 8 kB / 0.9745 GB, free: 5.602 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.9817, allocations: 3.938 kB / 0.9745 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9817, allocations: 4 kB / 0.9745 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00071/0.9824, allocations: 441 kB / 0.975 GB, free: 5.125 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.9825, allocations: 55.81 kB / 0.975 GB, free: 5.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.94e-05/0.9826, allocations: 8 kB / 0.975 GB, free: 5.062 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.9827, allocations: 4 kB / 0.975 GB, free: 5.059 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.39e-05/0.9828, allocations: 23.91 kB / 0.975 GB, free: 5.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.9828, allocations: 4 kB / 0.975 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001848/0.983, allocations: 183.1 kB / 0.9752 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.983, allocations: 0 / 0.9752 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004309/0.9834, allocations: 87.83 kB / 0.9753 GB, free: 4.77 MB / 0.7481 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.0002783/0.9837, allocations: 151.1 kB / 0.9755 GB, free: 4.613 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004559/0.9842, allocations: 182 kB / 0.9756 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9842, allocations: 0 / 0.9756 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.9844, allocations: 92.48 kB / 0.9757 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.9851, allocations: 132.7 kB / 0.9758 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.9862, allocations: 0.6185 MB / 0.9764 GB, free: 3.551 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.9864, allocations: 183.5 kB / 0.9766 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001753/0.9866, allocations: 54.25 kB / 0.9767 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.05e-05/0.9866, allocations: 27.42 kB / 0.9767 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of SimCode: time 3.2e-07/0.9866, allocations: 0 / 0.9767 GB, free: 3.273 MB / 0.7481 GB Notification: Performance of Templates: time 0.01073/0.9974, allocations: 5.28 MB / 0.9819 GB, free: 14.13 MB / 0.7637 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: 7.477893894538283] Failed to read output from testmodel.py, exit status != 0: 1.0057611241936684 1.02270562 0.049655136 Calling exit ...