Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.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.0009257/0.0009257, allocations: 77.09 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.001167/0.001167, allocations: 169 kB / 24.06 MB, free: 456 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 1.046/1.046, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.8428/0.8428, allocations: 154.9 MB / 415.9 MB, free: 248 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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.5219 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.956e-05/3.186e-05, allocations: 3.656 kB / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1667/0.1667, allocations: 143.8 MB / 0.6624 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001766/0.1685, allocations: 1.278 MB / 0.6636 GB, free: 72 kB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.1687, allocations: 15.88 kB / 0.6636 GB, free: 56 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1691, allocations: 83.27 kB / 0.6637 GB, free: 15.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0007905/0.1698, allocations: 401.7 kB / 0.6641 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008702/0.1707, allocations: 466.8 kB / 0.6645 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006659/0.1714, allocations: 0.701 MB / 0.6652 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.1717, allocations: 197.3 kB / 0.6654 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.1722, allocations: 363.1 kB / 0.6658 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.1724, allocations: 195.4 kB / 0.6659 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.1724, allocations: 20 kB / 0.666 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1729, allocations: 319.1 kB / 0.6663 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001044/0.173, allocations: 115.6 kB / 0.6664 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.656e-05/0.1731, allocations: 115.8 kB / 0.6665 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000523/0.1736, allocations: 426.7 kB / 0.6669 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1737, allocations: 0 / 0.6669 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1737, allocations: 0 / 0.6669 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.1737, allocations: 3.938 kB / 0.6669 GB, free: 12.7 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0006431/0.1743, allocations: 0.6514 MB / 0.6675 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.1743, allocations: 16.02 kB / 0.6675 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.175, allocations: 208.2 kB / 0.6677 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.1753, allocations: 263.4 kB / 0.668 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.1753, allocations: 20.86 kB / 0.668 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.1754, allocations: 28.36 kB / 0.668 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002423/0.1756, allocations: 227.1 kB / 0.6683 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.1756, allocations: 0 / 0.6683 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1756, allocations: 4 kB / 0.6683 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1756, allocations: 8 kB / 0.6683 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.528e-05/0.1757, allocations: 67.88 kB / 0.6683 GB, free: 11.14 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.0008496/0.1766, allocations: 1.094 MB / 0.6694 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1767, allocations: 77.14 kB / 0.6695 GB, free: 9.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.1767, allocations: 35.66 kB / 0.6695 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.1769, allocations: 55.88 kB / 0.6696 GB, free: 9.816 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.177, allocations: 33.39 kB / 0.6696 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.344e-06/0.177, allocations: 0 / 0.6696 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0003029/0.1773, allocations: 161.5 kB / 0.6698 GB, free: 9.609 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.1773, allocations: 51.41 kB / 0.6698 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.1775, allocations: 288.2 kB / 0.6701 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1775, allocations: 29.7 kB / 0.6701 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1776, allocations: 234.9 kB / 0.6703 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.1776, allocations: 59.52 kB / 0.6704 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.1777, allocations: 51.3 kB / 0.6704 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1778, allocations: 0.5079 MB / 0.6709 GB, free: 8.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.51e-05/0.1779, allocations: 23.91 kB / 0.671 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.567e-05/0.178, allocations: 164.5 kB / 0.6711 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.1781, allocations: 122 kB / 0.6712 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1781, allocations: 0 / 0.6712 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001712/0.1782, allocations: 148 kB / 0.6714 GB, free: 7.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1782, allocations: 8 kB / 0.6714 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1782, allocations: 0 / 0.6714 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1783, allocations: 4 kB / 0.6714 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1784, allocations: 44 kB / 0.6714 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1784, allocations: 4 kB / 0.6714 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-05/0.1785, allocations: 19.89 kB / 0.6714 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.85e-05/0.1785, allocations: 4 kB / 0.6714 GB, free: 7.738 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 (22): * Single equations (assignments): 22 * 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 9.068e-05/0.1786, allocations: 176.4 kB / 0.6716 GB, free: 7.555 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.1786, allocations: 31.81 kB / 0.6716 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001672/0.1788, allocations: 125.8 kB / 0.6718 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1788, allocations: 0 / 0.6718 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1788, allocations: 0 / 0.6718 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.1788, allocations: 0 / 0.6718 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.1793, allocations: 0.5149 MB / 0.6723 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1793, allocations: 4 kB / 0.6723 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.458e-05/0.1793, allocations: 27.98 kB / 0.6723 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1793, allocations: 0 / 0.6723 GB, free: 6.789 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1794, allocations: 8 kB / 0.6723 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/0.1794, allocations: 11.92 kB / 0.6723 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1794, allocations: 4.219 kB / 0.6723 GB, free: 6.766 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.1796, allocations: 353.3 kB / 0.6727 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.65e-05/0.1797, allocations: 35.78 kB / 0.6727 GB, free: 6.336 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.45e-05/0.1797, allocations: 12 kB / 0.6727 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.329e-05/0.1798, allocations: 4 kB / 0.6727 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.1798, allocations: 19.91 kB / 0.6727 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.1798, allocations: 4 kB / 0.6727 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.382e-05/0.1799, allocations: 193.1 kB / 0.6729 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1799, allocations: 0 / 0.6729 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002638/0.1802, allocations: 87.86 kB / 0.673 GB, free: 6.023 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 (15): * Single equations (assignments): 15 * 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.0001995/0.1804, allocations: 143.1 kB / 0.6731 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1805, allocations: 87.5 kB / 0.6732 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.1805, allocations: 0 / 0.6732 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.1806, allocations: 44.11 kB / 0.6733 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.181, allocations: 139.9 kB / 0.6734 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.1819, allocations: 0.5689 MB / 0.674 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.193e-05/0.182, allocations: 100.3 kB / 0.674 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.1821, allocations: 34.28 kB / 0.6741 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.1823, allocations: 154.1 kB / 0.6742 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.1823, allocations: 0 / 0.6742 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of Templates: time 0.2767/0.4589, allocations: 5.091 MB / 0.6792 GB, free: 64.16 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.424016274046153]