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.001102/0.001102, 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.001168/0.001168, allocations: 177.4 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.9587/0.9587, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.8578/0.8578, allocations: 154.9 MB / 415.1 MB, free: 224 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.443e-06/1.443e-06, allocations: 0 / 480.4 MB, free: 6.535 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.958e-05/2.102e-05, allocations: 6.078 kB / 480.4 MB, free: 6.531 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007506/0.007527, allocations: 8.714 MB / 489.1 MB, free: 13.86 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005005/0.01253, allocations: 3.357 MB / 492.4 MB, free: 10.51 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008438/0.01338, allocations: 40.41 kB / 492.5 MB, free: 10.47 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000501/0.01388, allocations: 174.6 kB / 492.7 MB, free: 10.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00131/0.01519, allocations: 0.6674 MB / 493.3 MB, free: 9.637 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.01642, allocations: 0.6654 MB / 494 MB, free: 8.977 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001754/0.01818, allocations: 1.628 MB / 495.6 MB, free: 7.344 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.01883, allocations: 404.5 kB / 496 MB, free: 6.941 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.01997, allocations: 0.7667 MB / 496.8 MB, free: 6.184 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.02043, allocations: 386.7 kB / 497.2 MB, free: 5.805 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.02049, allocations: 44 kB / 497.2 MB, free: 5.762 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004503/0.02094, allocations: 264.7 kB / 497.5 MB, free: 5.504 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.02106, allocations: 151.4 kB / 497.6 MB, free: 5.355 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.02123, allocations: 215.5 kB / 497.8 MB, free: 5.145 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007304/0.02196, allocations: 0.6274 MB / 498.4 MB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.02196, allocations: 0 / 498.4 MB, free: 4.516 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.02196, allocations: 0.875 kB / 498.4 MB, free: 4.516 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.02197, allocations: 0 / 498.4 MB, free: 4.516 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.000768/0.02273, allocations: 0.7619 MB / 499.2 MB, free: 3.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.02276, allocations: 11.97 kB / 499.2 MB, free: 3.719 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00016/0.02292, allocations: 86.36 kB / 499.3 MB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004724/0.0234, allocations: 427.2 kB / 499.7 MB, free: 3.195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.02342, allocations: 30.47 kB / 499.7 MB, free: 3.168 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.02346, allocations: 40.38 kB / 499.8 MB, free: 3.129 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.02378, allocations: 394.6 kB / 0.4884 GB, free: 2.703 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.02379, allocations: 4 kB / 0.4885 GB, free: 2.699 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.02381, allocations: 16 kB / 0.4885 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.02384, allocations: 8 kB / 0.4885 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.024, allocations: 126.5 kB / 0.4886 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.02515, allocations: 1.118 MB / 0.4897 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.02537, allocations: 182.8 kB / 0.4899 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.02543, allocations: 53.44 kB / 0.4899 GB, free: 1.168 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/0.02559, allocations: 71.92 kB / 0.49 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.02561, allocations: 36.84 kB / 0.49 GB, free: 1.055 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.02561, allocations: 0 / 0.49 GB, free: 1.055 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002323/0.02584, allocations: 161.5 kB / 0.4902 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.858e-05/0.02587, allocations: 59.41 kB / 0.4902 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.0261, allocations: 364.9 kB / 0.4906 GB, free: 460 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.02612, allocations: 30.73 kB / 0.4906 GB, free: 424 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.02622, allocations: 229.4 kB / 0.4908 GB, free: 188 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.712e-05/0.02626, allocations: 99.14 kB / 0.4909 GB, free: 88 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-05/0.02633, allocations: 70.77 kB / 0.491 GB, free: 12 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.02643, allocations: 358.7 kB / 0.4913 GB, free: 15.65 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.611e-05/0.02648, allocations: 32.31 kB / 0.4914 GB, free: 15.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.881e-05/0.02658, allocations: 173.2 kB / 0.4915 GB, free: 15.41 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.02671, allocations: 159.5 kB / 0.4917 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.02672, allocations: 3.938 kB / 0.4917 GB, free: 15.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001977/0.02691, allocations: 194.4 kB / 0.4919 GB, free: 15.03 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.02693, allocations: 5.969 kB / 0.4919 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.02693, allocations: 4 kB / 0.4919 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.02695, allocations: 5.094 kB / 0.4919 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.02709, allocations: 63.91 kB / 0.4919 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.02709, allocations: 8.688 kB / 0.4919 GB, free: 14.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.0272, allocations: 41.06 kB / 0.492 GB, free: 14.91 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.02722, allocations: 8 kB / 0.492 GB, free: 14.9 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.435e-05/0.02731, allocations: 140.5 kB / 0.4921 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.02736, allocations: 39.11 kB / 0.4922 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.02766, allocations: 254.1 kB / 0.4924 GB, free: 14.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.02767, allocations: 4 kB / 0.4924 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.02767, allocations: 0.9062 kB / 0.4924 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001926/0.02786, allocations: 388.2 kB / 0.4928 GB, free: 14.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.02856, allocations: 0.7003 MB / 0.4935 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.02856, allocations: 0 / 0.4935 GB, free: 13.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.02867, allocations: 43.97 kB / 0.4935 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.02867, allocations: 4 kB / 0.4935 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.02869, allocations: 13.14 kB / 0.4935 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.02869, allocations: 11.92 kB / 0.4935 GB, free: 13.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.0287, allocations: 3.938 kB / 0.4935 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000303/0.029, allocations: 414.1 kB / 0.4939 GB, free: 12.77 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.228e-05/0.02908, allocations: 67.61 kB / 0.494 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.319e-05/0.02912, allocations: 11.98 kB / 0.494 GB, free: 12.69 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.02923, allocations: 8.531 kB / 0.494 GB, free: 12.68 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.02925, allocations: 27.89 kB / 0.494 GB, free: 12.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.02927, allocations: 8.594 kB / 0.4941 GB, free: 12.64 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.02938, allocations: 157 kB / 0.4942 GB, free: 12.49 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02938, allocations: 0 / 0.4942 GB, free: 12.49 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.02971, allocations: 179.6 kB / 0.4944 GB, free: 12.31 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.0002517/0.02996, allocations: 185.7 kB / 0.4946 GB, free: 12.13 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.03015, allocations: 163.5 kB / 0.4947 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.03015, allocations: 6.688 kB / 0.4947 GB, free: 11.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.03024, allocations: 80.7 kB / 0.4948 GB, free: 11.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.03082, allocations: 262.2 kB / 0.495 GB, free: 11.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.03201, allocations: 0.8659 MB / 0.4959 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.03209, allocations: 121.8 kB / 0.496 GB, free: 10.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.03228, allocations: 83.89 kB / 0.4961 GB, free: 10.55 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.03262, allocations: 239 kB / 0.4963 GB, free: 10.31 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.03262, allocations: 0 / 0.4963 GB, free: 10.31 MB / 474.7 MB Notification: Performance of Templates: time 0.0129/0.04553, allocations: 10.84 MB / 0.5069 GB, free: 15.98 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.043853077106178]