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.001331/0.001331, allocations: 79.36 kB / 19.18 MB, free: 2.52 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.001795/0.001795, allocations: 166.6 kB / 22.46 MB, free: 5.375 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.474/1.474, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.191/1.191, allocations: 154.5 MB / 413.7 MB, free: 5.301 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6185 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/2.951e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.6429/0.6429, allocations: 147.6 MB / 0.7627 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.003465/0.6464, allocations: 1.499 MB / 0.7642 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003179/0.6467, allocations: 16.12 kB / 0.7642 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.6473, allocations: 164.2 kB / 0.7643 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.6499, allocations: 0.7155 MB / 0.765 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.652, allocations: 0.6874 MB / 0.7657 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009943/0.653, allocations: 0.7199 MB / 0.7664 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.6534, allocations: 193.5 kB / 0.7666 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.6547, allocations: 0.6093 MB / 0.7672 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.655, allocations: 200.9 kB / 0.7674 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.655, allocations: 26.5 kB / 0.7674 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001269/0.6563, allocations: 0.7119 MB / 0.7681 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.6564, allocations: 118.9 kB / 0.7682 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001649/0.6566, allocations: 126.7 kB / 0.7683 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.6577, allocations: 0.733 MB / 0.769 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.6577, allocations: 3.406 kB / 0.769 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of FrontEnd: time 4.769e-06/0.6577, allocations: 3.984 kB / 0.769 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.6577, allocations: 0 / 0.769 GB, free: 12.13 MB / 0.6231 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.001098/0.6588, allocations: 0.5954 MB / 0.7696 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6588, allocations: 12.62 kB / 0.7696 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/0.6601, allocations: 155.5 kB / 0.7698 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006003/0.6607, allocations: 266.7 kB / 0.77 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.6607, allocations: 18.25 kB / 0.7701 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.047e-05/0.6607, allocations: 23.94 kB / 0.7701 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005666/0.6613, allocations: 289.4 kB / 0.7704 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6613, allocations: 3.938 kB / 0.7704 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.6614, allocations: 10.09 kB / 0.7704 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.6614, allocations: 5.656 kB / 0.7704 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004699/0.6618, allocations: 201.5 kB / 0.7706 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.6633, allocations: 0.9253 MB / 0.7715 GB, free: 10.22 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.6636, allocations: 132.1 kB / 0.7716 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.6638, allocations: 94.02 kB / 0.7717 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/0.6643, allocations: 77.77 kB / 0.7718 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/0.6643, allocations: 32.09 kB / 0.7718 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.513e-06/0.6643, allocations: 3.938 kB / 0.7718 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0008417/0.6652, allocations: 296.7 kB / 0.7721 GB, free: 9.871 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.6652, allocations: 54.03 kB / 0.7721 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.6655, allocations: 268.6 kB / 0.7724 GB, free: 9.629 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.6655, allocations: 29.7 kB / 0.7724 GB, free: 9.594 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.6657, allocations: 186.6 kB / 0.7726 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.32e-05/0.6658, allocations: 59.8 kB / 0.7727 GB, free: 9.375 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.6659, allocations: 41.7 kB / 0.7727 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.666, allocations: 338.3 kB / 0.773 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/0.6662, allocations: 74.81 kB / 0.7731 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.6665, allocations: 204.2 kB / 0.7733 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003894/0.6669, allocations: 204.3 kB / 0.7735 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.6669, allocations: 0 / 0.7735 GB, free: 8.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004834/0.6674, allocations: 246.8 kB / 0.7737 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6674, allocations: 5.312 kB / 0.7737 GB, free: 8.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.6674, allocations: 8.281 kB / 0.7737 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.6674, allocations: 4.094 kB / 0.7737 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.6676, allocations: 46.45 kB / 0.7738 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.6676, allocations: 6.578 kB / 0.7738 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6678, allocations: 22.7 kB / 0.7738 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.6679, allocations: 11.58 kB / 0.7738 GB, free: 8.484 MB / 0.6231 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.0001797/0.668, allocations: 150 kB / 0.774 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.6681, allocations: 26.28 kB / 0.774 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.6686, allocations: 230.8 kB / 0.7742 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.6686, allocations: 0 / 0.7742 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6686, allocations: 3.469 kB / 0.7742 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6686, allocations: 0 / 0.7742 GB, free: 8.188 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6697, allocations: 0.6131 MB / 0.7748 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.6697, allocations: 8.531 kB / 0.7748 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6698, allocations: 42.72 kB / 0.7749 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6699, allocations: 2.719 kB / 0.7749 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.6699, allocations: 5.094 kB / 0.7749 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.6699, allocations: 7.125 kB / 0.7749 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6699, allocations: 0 / 0.7749 GB, free: 7.676 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/0.6706, allocations: 448.2 kB / 0.7753 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-05/0.6707, allocations: 51.41 kB / 0.7753 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.6707, allocations: 2.594 kB / 0.7753 GB, free: 7.312 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.6709, allocations: 9.625 kB / 0.7754 GB, free: 7.309 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.672e-05/0.671, allocations: 19.72 kB / 0.7754 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.671, allocations: 13.47 kB / 0.7754 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001807/0.6711, allocations: 181 kB / 0.7756 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.6711, allocations: 0 / 0.7756 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004013/0.6715, allocations: 88.89 kB / 0.7756 GB, free: 7.145 MB / 0.6231 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.0003241/0.6719, allocations: 149.7 kB / 0.7758 GB, free: 7.027 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004373/0.6723, allocations: 187.8 kB / 0.776 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6723, allocations: 0 / 0.776 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.6725, allocations: 82.58 kB / 0.776 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007374/0.6732, allocations: 129.8 kB / 0.7762 GB, free: 6.848 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.6743, allocations: 0.5817 MB / 0.7767 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.6744, allocations: 176.9 kB / 0.7769 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.6746, allocations: 60.14 kB / 0.777 GB, free: 6.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.6747, allocations: 30.61 kB / 0.777 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of SimCode: time 6.22e-07/0.6747, allocations: 0 / 0.777 GB, free: 6.238 MB / 0.6231 GB Notification: Performance of Templates: time 0.01133/0.686, allocations: 4.811 MB / 0.7817 GB, free: 3.844 MB / 0.6231 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.658788345754147] Failed to read output from testmodel.py, exit status != 0: 0.6951034553349018 0.7090109910000001 0.048208112000000004 Calling exit ...