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.0009337/0.0009337, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009575/0.0009575, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 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.9897/0.9897, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.8205/0.8205, allocations: 154.9 MB / 415.1 MB, free: 240 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.074e-06/2.074e-06, allocations: 0.9844 kB / 480.4 MB, free: 6.523 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.434e-05/2.641e-05, allocations: 2.312 kB / 480.4 MB, free: 6.52 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1698/0.1699, allocations: 145.9 MB / 0.6116 GB, free: 4.465 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1717, allocations: 1.312 MB / 0.6129 GB, free: 3.152 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1719, allocations: 15.88 kB / 0.6129 GB, free: 3.137 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1722, allocations: 87.22 kB / 0.613 GB, free: 3.051 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.1728, allocations: 393.8 kB / 0.6134 GB, free: 2.664 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007192/0.1736, allocations: 474.7 kB / 0.6138 GB, free: 2.199 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.1741, allocations: 0.6963 MB / 0.6145 GB, free: 1.504 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002569/0.1744, allocations: 199.4 kB / 0.6147 GB, free: 1.305 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.1748, allocations: 371 kB / 0.6151 GB, free: 0.9414 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001737/0.1749, allocations: 183.5 kB / 0.6152 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 3.142e-05/0.175, allocations: 24 kB / 0.6153 GB, free: 0.7383 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.1753, allocations: 303.1 kB / 0.6155 GB, free: 452 kB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.1754, allocations: 119.6 kB / 0.6157 GB, free: 332 kB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 9.817e-05/0.1755, allocations: 111.8 kB / 0.6158 GB, free: 220 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.176, allocations: 446.5 kB / 0.6162 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.176, allocations: 0 / 0.6162 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.543e-06/0.176, allocations: 0 / 0.6162 GB, free: 15.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.176, allocations: 4 kB / 0.6162 GB, free: 15.77 MB / 0.5886 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.0005696/0.1765, allocations: 0.5112 MB / 0.6167 GB, free: 15.24 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1766, allocations: 12.03 kB / 0.6167 GB, free: 15.23 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006205/0.1772, allocations: 212.2 kB / 0.6169 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1774, allocations: 244.7 kB / 0.6171 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1775, allocations: 20.86 kB / 0.6172 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.1775, allocations: 24.38 kB / 0.6172 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.1777, allocations: 215.7 kB / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1777, allocations: 0 / 0.6174 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.1777, allocations: 12 kB / 0.6174 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1778, allocations: 7.938 kB / 0.6174 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.102e-05/0.1778, allocations: 76.38 kB / 0.6175 GB, free: 14.38 MB / 0.5886 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.0006728/0.1785, allocations: 0.7784 MB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.1786, allocations: 113.2 kB / 0.6184 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.421e-05/0.1787, allocations: 27.69 kB / 0.6184 GB, free: 13.42 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.1788, allocations: 55.92 kB / 0.6184 GB, free: 13.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.1789, allocations: 34.56 kB / 0.6185 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1789, allocations: 0 / 0.6185 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.000257/0.1791, allocations: 129.7 kB / 0.6186 GB, free: 13.19 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.1791, allocations: 51.41 kB / 0.6186 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1793, allocations: 225 kB / 0.6189 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.1793, allocations: 25.7 kB / 0.6189 GB, free: 12.86 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.423e-05/0.1794, allocations: 172.7 kB / 0.619 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.1794, allocations: 59.47 kB / 0.6191 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.1794, allocations: 37.69 kB / 0.6191 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.623e-05/0.1795, allocations: 342.8 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.96e-05/0.1796, allocations: 18.81 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.1796, allocations: 150.2 kB / 0.6196 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.926e-05/0.1797, allocations: 101.5 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/0.1797, allocations: 3.938 kB / 0.6197 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001329/0.1799, allocations: 123.2 kB / 0.6198 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.1799, allocations: 8.094 kB / 0.6198 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1799, allocations: 4 kB / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.1799, allocations: 0 / 0.6199 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.763e-05/0.18, allocations: 43.92 kB / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.18, allocations: 0 / 0.6199 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.1801, allocations: 23.88 kB / 0.6199 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.1801, allocations: 8 kB / 0.6199 GB, free: 11.7 MB / 0.5886 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.498e-05/0.1802, allocations: 124.5 kB / 0.62 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1802, allocations: 19.98 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.1803, allocations: 111.3 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1803, allocations: 4 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1803, allocations: 4 kB / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1803, allocations: 0 / 0.6202 GB, free: 11.42 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004061/0.1807, allocations: 0.4959 MB / 0.6207 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1807, allocations: 7.938 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.1808, allocations: 28.2 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1808, allocations: 4 kB / 0.6207 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.1808, allocations: 8 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1808, allocations: 4 kB / 0.6207 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1808, allocations: 3.938 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.181, allocations: 323 kB / 0.621 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.1811, allocations: 31.78 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.1811, allocations: 8 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.551e-05/0.1812, allocations: 4 kB / 0.6211 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.1812, allocations: 19.91 kB / 0.6211 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.1812, allocations: 8.031 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.1813, allocations: 78.78 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.1813, allocations: 0 / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002171/0.1815, allocations: 95.77 kB / 0.6213 GB, free: 10.21 MB / 0.5886 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.0001753/0.1817, allocations: 108.2 kB / 0.6214 GB, free: 10.1 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000126/0.1818, allocations: 84.81 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1818, allocations: 4 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.705e-05/0.1818, allocations: 44.84 kB / 0.6215 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1823, allocations: 127.2 kB / 0.6216 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.1831, allocations: 0.556 MB / 0.6221 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.1832, allocations: 104.3 kB / 0.6222 GB, free: 9.113 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 7.922e-05/0.1833, allocations: 30.28 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.1834, allocations: 121.3 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of SimCode: time 7.01e-07/0.1834, allocations: 0 / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of Templates: time 0.006206/0.1896, allocations: 4.982 MB / 0.6273 GB, free: 4.145 MB / 0.5886 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.9513729312457144]