Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.001366/0.001366, allocations: 76.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.001551/0.001551, allocations: 176.9 kB / 23.36 MB, free: 1.125 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 1.022/1.022, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.8231/0.8231, allocations: 154.9 MB / 415.1 MB, free: 256 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.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 480.4 MB, free: 6.492 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.378e-05/1.506e-05, allocations: 3.719 kB / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007359/0.007374, allocations: 8.758 MB / 489.2 MB, free: 13.78 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.01188, allocations: 3.356 MB / 492.5 MB, free: 10.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.01231, allocations: 35.69 kB / 492.6 MB, free: 10.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004246/0.01273, allocations: 183.2 kB / 492.7 MB, free: 10.22 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001/0.01373, allocations: 0.6592 MB / 493.4 MB, free: 9.566 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.01465, allocations: 0.6612 MB / 494.1 MB, free: 8.91 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00135/0.016, allocations: 1.624 MB / 495.7 MB, free: 7.281 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008086/0.01681, allocations: 421.4 kB / 496.1 MB, free: 6.871 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.01794, allocations: 0.7542 MB / 496.9 MB, free: 6.121 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.01843, allocations: 378.8 kB / 497.2 MB, free: 5.75 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.39e-05/0.01849, allocations: 49.06 kB / 497.3 MB, free: 5.703 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004387/0.01893, allocations: 279.3 kB / 497.5 MB, free: 5.43 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.01905, allocations: 148.3 kB / 497.7 MB, free: 5.285 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.01923, allocations: 215.5 kB / 497.9 MB, free: 5.074 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008363/0.02007, allocations: 0.6229 MB / 498.5 MB, free: 4.449 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.02007, allocations: 0.5 kB / 498.5 MB, free: 4.449 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02007, allocations: 1 kB / 498.5 MB, free: 4.449 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.02008, allocations: 0 / 498.5 MB, free: 4.449 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0008509/0.02093, allocations: 0.7695 MB / 499.3 MB, free: 3.656 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.02096, allocations: 8.031 kB / 499.3 MB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001712/0.02113, allocations: 86.5 kB / 499.4 MB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.02164, allocations: 420.5 kB / 499.8 MB, free: 3.133 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.02167, allocations: 38.7 kB / 499.8 MB, free: 3.098 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.02172, allocations: 40.38 kB / 499.9 MB, free: 3.059 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.02206, allocations: 392.5 kB / 0.4885 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.02207, allocations: 0 / 0.4885 GB, free: 2.633 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.0221, allocations: 16.91 kB / 0.4885 GB, free: 2.617 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.02213, allocations: 12 kB / 0.4886 GB, free: 2.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.02229, allocations: 123.5 kB / 0.4887 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.02352, allocations: 1.114 MB / 0.4898 GB, free: 1.348 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.02376, allocations: 186.1 kB / 0.4899 GB, free: 1.156 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.661e-05/0.02382, allocations: 55.66 kB / 0.49 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.02399, allocations: 65.09 kB / 0.4901 GB, free: 1.035 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.02401, allocations: 43.19 kB / 0.4901 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.02401, allocations: 0.8438 kB / 0.4901 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002543/0.02427, allocations: 166.8 kB / 0.4903 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.02429, allocations: 56.38 kB / 0.4903 GB, free: 0.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.02452, allocations: 356.9 kB / 0.4907 GB, free: 396 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.02454, allocations: 33.7 kB / 0.4907 GB, free: 356 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.02464, allocations: 234.1 kB / 0.4909 GB, free: 116 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.02469, allocations: 99.16 kB / 0.491 GB, free: 16 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.02477, allocations: 71.36 kB / 0.4911 GB, free: 15.94 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.359e-05/0.02487, allocations: 354.7 kB / 0.4914 GB, free: 15.59 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.02492, allocations: 31.47 kB / 0.4914 GB, free: 15.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.02502, allocations: 177.8 kB / 0.4916 GB, free: 15.34 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.02517, allocations: 163.4 kB / 0.4918 GB, free: 15.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.02517, allocations: 0 / 0.4918 GB, free: 15.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000211/0.02539, allocations: 191.6 kB / 0.4919 GB, free: 14.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.0254, allocations: 8 kB / 0.492 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.0254, allocations: 0 / 0.492 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.02542, allocations: 5.031 kB / 0.492 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.02559, allocations: 80.67 kB / 0.492 GB, free: 14.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.0256, allocations: 4 kB / 0.492 GB, free: 14.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000111/0.02571, allocations: 36.25 kB / 0.4921 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.02573, allocations: 12 kB / 0.4921 GB, free: 14.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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.588e-05/0.02582, allocations: 130.1 kB / 0.4922 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.02587, allocations: 39.95 kB / 0.4922 GB, free: 14.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.02619, allocations: 256.6 kB / 0.4925 GB, free: 14.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.256e-06/0.0262, allocations: 7.984 kB / 0.4925 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.0262, allocations: 0 / 0.4925 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000194/0.0264, allocations: 389 kB / 0.4929 GB, free: 13.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007291/0.02713, allocations: 0.6937 MB / 0.4935 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.02713, allocations: 4.688 kB / 0.4936 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.02728, allocations: 56.58 kB / 0.4936 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.02728, allocations: 4 kB / 0.4936 GB, free: 13.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.0273, allocations: 9.25 kB / 0.4936 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.0273, allocations: 0 / 0.4936 GB, free: 13.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.0273, allocations: 7.938 kB / 0.4936 GB, free: 13.13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.02762, allocations: 421.2 kB / 0.494 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.0277, allocations: 67.61 kB / 0.4941 GB, free: 12.62 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.02773, allocations: 8.875 kB / 0.4941 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.02784, allocations: 8 kB / 0.4941 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.02787, allocations: 32.73 kB / 0.4941 GB, free: 12.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.145e-05/0.0279, allocations: 18.14 kB / 0.4942 GB, free: 12.56 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.02801, allocations: 153.5 kB / 0.4943 GB, free: 12.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02801, allocations: 0 / 0.4943 GB, free: 12.41 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003523/0.02837, allocations: 179.6 kB / 0.4945 GB, free: 12.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0002393/0.02861, allocations: 176.2 kB / 0.4946 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.0288, allocations: 158.7 kB / 0.4948 GB, free: 11.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.02881, allocations: 4 kB / 0.4948 GB, free: 11.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.02889, allocations: 90.02 kB / 0.4949 GB, free: 11.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005962/0.02949, allocations: 254.7 kB / 0.4951 GB, free: 11.58 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.03057, allocations: 0.8729 MB / 0.496 GB, free: 10.68 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.03065, allocations: 133.8 kB / 0.4961 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.03086, allocations: 82.55 kB / 0.4962 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000378/0.03124, allocations: 228.9 kB / 0.4964 GB, free: 10.23 MB / 474.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03124, allocations: 0 / 0.4964 GB, free: 10.23 MB / 474.7 MB Notification: Performance of Templates: time 0.01254/0.04378, allocations: 10.85 MB / 0.507 GB, free: 15.9 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8948049009777606]