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.0009981/0.0009981, allocations: 73.88 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001225/0.001225, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 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.9983/0.9983, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.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-535:34: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-535:42: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.8573/0.8573, allocations: 154.9 MB / 415.9 MB, free: 272 kB / 378.7 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 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: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.085e-05, allocations: 9.375 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Velocity): time 0.1731/0.1732, allocations: 143.9 MB / 0.6624 GB, free: 1.289 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001541/0.1747, allocations: 1.276 MB / 0.6637 GB, free: 12 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.1749, allocations: 15.92 kB / 0.6637 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.1752, allocations: 91.16 kB / 0.6638 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006591/0.1758, allocations: 397.8 kB / 0.6641 GB, free: 15.52 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.1766, allocations: 474.7 kB / 0.6646 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005775/0.1772, allocations: 0.7136 MB / 0.6653 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002845/0.1775, allocations: 201.3 kB / 0.6655 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.178, allocations: 394.9 kB / 0.6659 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1782, allocations: 199.4 kB / 0.6661 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.1783, allocations: 24 kB / 0.6661 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003423/0.1786, allocations: 311.1 kB / 0.6664 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001139/0.1787, allocations: 119.6 kB / 0.6665 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.1788, allocations: 115.8 kB / 0.6666 GB, free: 13 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0004865/0.1793, allocations: 446.5 kB / 0.667 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1793, allocations: 0 / 0.667 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1793, allocations: 0 / 0.667 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.1793, allocations: 0 / 0.667 GB, free: 12.56 MB / 0.6355 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.0007052/0.18, allocations: 0.667 MB / 0.6677 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1801, allocations: 8.031 kB / 0.6677 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006352/0.1807, allocations: 216 kB / 0.6679 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.181, allocations: 267.5 kB / 0.6681 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.181, allocations: 24.44 kB / 0.6682 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.1811, allocations: 23.94 kB / 0.6682 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002374/0.1813, allocations: 227.9 kB / 0.6684 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.1813, allocations: 0 / 0.6684 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.1813, allocations: 4 kB / 0.6684 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.1813, allocations: 8 kB / 0.6684 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9e-05/0.1814, allocations: 73 kB / 0.6685 GB, free: 10.97 MB / 0.6355 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008127/0.1822, allocations: 1.099 MB / 0.6696 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.1823, allocations: 83.02 kB / 0.6696 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.1824, allocations: 43.59 kB / 0.6697 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.1826, allocations: 47.95 kB / 0.6697 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.1826, allocations: 41.33 kB / 0.6698 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 9.52e-07/0.1826, allocations: 0 / 0.6698 GB, free: 9.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0003015/0.1829, allocations: 163.5 kB / 0.6699 GB, free: 9.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1829, allocations: 51.41 kB / 0.67 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1831, allocations: 302.2 kB / 0.6703 GB, free: 9.055 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.1831, allocations: 25.7 kB / 0.6703 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.1832, allocations: 238.9 kB / 0.6705 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.1833, allocations: 67.42 kB / 0.6706 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.1833, allocations: 55.34 kB / 0.6706 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1835, allocations: 0.504 MB / 0.6711 GB, free: 8.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.377e-05/0.1835, allocations: 19.98 kB / 0.6711 GB, free: 8.121 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.621e-05/0.1836, allocations: 170.4 kB / 0.6713 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.1837, allocations: 124 kB / 0.6714 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1837, allocations: 0 / 0.6714 GB, free: 7.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001758/0.1839, allocations: 161.3 kB / 0.6716 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1839, allocations: 8 kB / 0.6716 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1839, allocations: 0 / 0.6716 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1839, allocations: 4 kB / 0.6716 GB, free: 7.594 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.184, allocations: 43.91 kB / 0.6716 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.184, allocations: 4 kB / 0.6716 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.956e-05/0.1841, allocations: 23.84 kB / 0.6717 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.849e-05/0.1841, allocations: 8 kB / 0.6717 GB, free: 7.516 MB / 0.6355 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 8.783e-05/0.1842, allocations: 168.5 kB / 0.6718 GB, free: 7.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.1842, allocations: 39.89 kB / 0.6719 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.1844, allocations: 137.4 kB / 0.672 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1844, allocations: 0 / 0.672 GB, free: 7.156 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.1844, allocations: 3.938 kB / 0.672 GB, free: 7.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1844, allocations: 7.984 kB / 0.672 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005071/0.1849, allocations: 0.5188 MB / 0.6725 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1849, allocations: 8.219 kB / 0.6725 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.185, allocations: 31.92 kB / 0.6726 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.185, allocations: 4 kB / 0.6726 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.185, allocations: 8 kB / 0.6726 GB, free: 6.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.185, allocations: 4 kB / 0.6726 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1851, allocations: 3.984 kB / 0.6726 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002962/0.1853, allocations: 359.5 kB / 0.6729 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-05/0.1854, allocations: 39.78 kB / 0.673 GB, free: 6.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.506e-05/0.1854, allocations: 4 kB / 0.673 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1855, allocations: 20.02 kB / 0.673 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.1856, allocations: 23.86 kB / 0.673 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.1856, allocations: 4 kB / 0.673 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001116/0.1857, allocations: 199 kB / 0.6732 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.1857, allocations: 0 / 0.6732 GB, free: 5.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002605/0.1859, allocations: 91.78 kB / 0.6733 GB, free: 5.738 MB / 0.6355 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.0002275/0.1862, allocations: 135.1 kB / 0.6734 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1863, allocations: 99.5 kB / 0.6735 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.1863, allocations: 0 / 0.6735 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.822e-05/0.1864, allocations: 55.56 kB / 0.6736 GB, free: 5.438 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.1868, allocations: 131.9 kB / 0.6737 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.1878, allocations: 0.5746 MB / 0.6742 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.007e-05/0.1879, allocations: 108.1 kB / 0.6743 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.423e-05/0.188, allocations: 34.27 kB / 0.6744 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1882, allocations: 162.1 kB / 0.6745 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/0.1882, allocations: 8 kB / 0.6745 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.2747/0.4629, allocations: 5.171 MB / 0.6796 GB, free: 64.14 MB / 0.6355 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.366119171958417]