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.000813/0.000813, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001927, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006721/0.0006721, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008945/0.001567, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9825/0.9825, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1245/1.107, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8125/0.8125, allocations: 155.3 MB / 399.5 MB, free: 15.81 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2969/1.109, allocations: 49.13 MB / 448.6 MB, free: 5.922 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.796e-06/2.796e-06, allocations: 4 kB / 450 MB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.053e-05/2.332e-05, allocations: 5.703 kB / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1532/0.1533, allocations: 146.4 MB / 0.5824 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002061/0.1553, allocations: 1.312 MB / 0.5837 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002168/0.1555, allocations: 15.88 kB / 0.5837 GB, free: 0.7734 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1558, allocations: 87.22 kB / 0.5838 GB, free: 0.6875 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008158/0.1566, allocations: 397.8 kB / 0.5842 GB, free: 304 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000927/0.1575, allocations: 458.9 kB / 0.5846 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.1584, allocations: 0.6964 MB / 0.5853 GB, free: 15.15 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1588, allocations: 179.5 kB / 0.5855 GB, free: 14.97 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007466/0.1595, allocations: 394.8 kB / 0.5858 GB, free: 14.59 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.1598, allocations: 179.5 kB / 0.586 GB, free: 14.41 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.1599, allocations: 27.94 kB / 0.586 GB, free: 14.38 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006761/0.1605, allocations: 311.1 kB / 0.5863 GB, free: 14.08 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1606, allocations: 95.7 kB / 0.5864 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.1607, allocations: 95.81 kB / 0.5865 GB, free: 13.89 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.1613, allocations: 378.8 kB / 0.5869 GB, free: 13.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 1.519e-05/0.1613, allocations: 0 / 0.5869 GB, free: 13.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1613, allocations: 0 / 0.5869 GB, free: 13.52 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.1613, allocations: 8 kB / 0.5869 GB, free: 13.51 MB / 0.573 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.0007233/0.162, allocations: 0.6142 MB / 0.5875 GB, free: 12.88 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1621, allocations: 8.031 kB / 0.5875 GB, free: 12.87 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007133/0.1628, allocations: 289.4 kB / 0.5878 GB, free: 12.57 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.1631, allocations: 244.6 kB / 0.588 GB, free: 12.3 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.1631, allocations: 20.88 kB / 0.588 GB, free: 12.28 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.1631, allocations: 16.38 kB / 0.588 GB, free: 12.27 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1634, allocations: 215.8 kB / 0.5882 GB, free: 12.03 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.1634, allocations: 3.938 kB / 0.5882 GB, free: 12.03 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.1634, allocations: 12 kB / 0.5883 GB, free: 12.02 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.1634, allocations: 4 kB / 0.5883 GB, free: 12.01 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.1635, allocations: 84.36 kB / 0.5883 GB, free: 11.93 MB / 0.573 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.0007659/0.1643, allocations: 0.776 MB / 0.5891 GB, free: 11.12 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1644, allocations: 113.3 kB / 0.5892 GB, free: 11 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.361e-05/0.1645, allocations: 31.67 kB / 0.5892 GB, free: 10.96 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.1646, allocations: 51.95 kB / 0.5893 GB, free: 10.91 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1647, allocations: 30.84 kB / 0.5893 GB, free: 10.87 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.1647, allocations: 0 / 0.5893 GB, free: 10.87 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0002701/0.1649, allocations: 139 kB / 0.5894 GB, free: 10.73 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.165, allocations: 51.41 kB / 0.5895 GB, free: 10.67 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.1651, allocations: 233 kB / 0.5897 GB, free: 10.43 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1651, allocations: 25.7 kB / 0.5897 GB, free: 10.4 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.1652, allocations: 172.7 kB / 0.5899 GB, free: 10.22 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.1652, allocations: 55.52 kB / 0.59 GB, free: 10.17 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.004e-05/0.1653, allocations: 41.64 kB / 0.59 GB, free: 10.12 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.468e-05/0.1654, allocations: 342.8 kB / 0.5903 GB, free: 9.777 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/0.1654, allocations: 14.83 kB / 0.5903 GB, free: 9.762 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.1655, allocations: 143.2 kB / 0.5905 GB, free: 9.586 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.1656, allocations: 110.9 kB / 0.5906 GB, free: 9.457 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1656, allocations: 3.938 kB / 0.5906 GB, free: 9.453 MB / 0.573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000135/0.1658, allocations: 138.6 kB / 0.5907 GB, free: 9.312 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.1658, allocations: 7.984 kB / 0.5907 GB, free: 9.305 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1658, allocations: 4 kB / 0.5907 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.1658, allocations: 0 / 0.5907 GB, free: 9.301 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1659, allocations: 47.92 kB / 0.5908 GB, free: 9.254 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1659, allocations: 4 kB / 0.5908 GB, free: 9.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.166, allocations: 15.89 kB / 0.5908 GB, free: 9.234 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.935e-05/0.166, allocations: 11.98 kB / 0.5908 GB, free: 9.223 MB / 0.573 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 7.457e-05/0.1661, allocations: 124.7 kB / 0.5909 GB, free: 9.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.1661, allocations: 19.98 kB / 0.5909 GB, free: 9.07 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1663, allocations: 111.3 kB / 0.5911 GB, free: 8.957 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1663, allocations: 4 kB / 0.5911 GB, free: 8.953 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.1663, allocations: 0 / 0.5911 GB, free: 8.953 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.1663, allocations: 0 / 0.5911 GB, free: 8.953 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.1667, allocations: 0.5039 MB / 0.5915 GB, free: 8.395 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1667, allocations: 4.031 kB / 0.5916 GB, free: 8.391 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.102e-05/0.1668, allocations: 39.92 kB / 0.5916 GB, free: 8.352 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.936e-05/0.1669, allocations: 19.86 kB / 0.5916 GB, free: 8.332 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.1669, allocations: 7.984 kB / 0.5916 GB, free: 8.324 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1669, allocations: 4 kB / 0.5916 GB, free: 8.32 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.1669, allocations: 0 / 0.5916 GB, free: 8.32 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.1669, allocations: 7.938 kB / 0.5916 GB, free: 8.312 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.1671, allocations: 321.3 kB / 0.5919 GB, free: 7.953 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.1671, allocations: 4 kB / 0.5919 GB, free: 7.949 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.97e-05/0.1672, allocations: 12.03 kB / 0.592 GB, free: 7.938 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/0.1672, allocations: 19.84 kB / 0.592 GB, free: 7.918 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1673, allocations: 4 kB / 0.592 GB, free: 7.914 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.091e-05/0.1673, allocations: 78.78 kB / 0.592 GB, free: 7.836 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.1673, allocations: 0 / 0.592 GB, free: 7.836 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0002493/0.1676, allocations: 91.83 kB / 0.5921 GB, free: 7.746 MB / 0.573 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.0002167/0.1678, allocations: 120.2 kB / 0.5923 GB, free: 7.621 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001389/0.1679, allocations: 91.25 kB / 0.5923 GB, free: 7.531 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.1679, allocations: 4 kB / 0.5923 GB, free: 7.527 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 6.132e-05/0.168, allocations: 47.03 kB / 0.5924 GB, free: 7.48 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006443/0.1686, allocations: 0.8253 MB / 0.5932 GB, free: 6.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002689/0.1713, allocations: 0.5564 MB / 0.5937 GB, free: 5.891 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.007e-05/0.1714, allocations: 104.3 kB / 0.5938 GB, free: 5.77 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.1715, allocations: 30.3 kB / 0.5939 GB, free: 5.742 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.1717, allocations: 121.3 kB / 0.594 GB, free: 5.625 MB / 0.573 GB Notification: Performance of SimCode: time 8.11e-07/0.1717, allocations: 0 / 0.594 GB, free: 5.625 MB / 0.573 GB Notification: Performance of Templates: time 0.007712/0.1794, allocations: 5.254 MB / 0.5991 GB, free: 0.5234 MB / 0.573 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: 3.7870126189664006]