Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001256/0.001256, allocations: 76.45 kB / 19.91 MB, free: 16 kB / 13.93 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.001765/0.001765, allocations: 165.9 kB / 23.18 MB, free: 1.387 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.9605/0.9605, allocations: 177.2 MB / 203.6 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7331/0.7331, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 4.0.0/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_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008835/0.0008835, allocations: 67.91 kB / 0.6196 GB, free: 13.14 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 FrontEnd - Absyn->SCode: time 0.4585/0.4594, allocations: 102 MB / 0.7191 GB, free: 23.71 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01551/0.4749, allocations: 21.54 MB / 0.7402 GB, free: 9.219 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.005388/0.4803, allocations: 4.751 MB / 0.7448 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.4808, allocations: 36.97 kB / 0.7448 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006507/0.4814, allocations: 292.2 kB / 0.7451 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.4828, allocations: 0.8364 MB / 0.7459 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.4841, allocations: 0.8263 MB / 0.7467 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001284/0.4854, allocations: 1.609 MB / 0.7483 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004189/0.4858, allocations: 389.3 kB / 0.7487 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.4872, allocations: 0.9499 MB / 0.7496 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.4877, allocations: 449.1 kB / 0.75 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.4877, allocations: 46.22 kB / 0.7501 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006909/0.4884, allocations: 411.5 kB / 0.7505 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.4885, allocations: 151.1 kB / 0.7506 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.4887, allocations: 251.6 kB / 0.7509 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.4898, allocations: 0.9968 MB / 0.7518 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.4898, allocations: 0 / 0.7518 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4898, allocations: 0 / 0.7518 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.027e-06/0.4898, allocations: 0 / 0.7518 GB, free: 2.613 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0009275/0.4907, allocations: 0.8288 MB / 0.7526 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4908, allocations: 9.5 kB / 0.7527 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4909, allocations: 68.19 kB / 0.7527 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007115/0.4917, allocations: 0.5148 MB / 0.7532 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4917, allocations: 33.14 kB / 0.7532 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.294e-05/0.4917, allocations: 37.78 kB / 0.7533 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004997/0.4922, allocations: 0.5073 MB / 0.7538 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4923, allocations: 1.125 kB / 0.7538 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.4923, allocations: 20.06 kB / 0.7538 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.4923, allocations: 10.03 kB / 0.7538 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.4927, allocations: 301.9 kB / 0.7541 GB, free: 1.219 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.001564/0.4942, allocations: 1.452 MB / 0.7555 GB, free: 280 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004132/0.4946, allocations: 240.7 kB / 0.7557 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.4948, allocations: 112.4 kB / 0.7559 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.495, allocations: 101.9 kB / 0.756 GB, free: 124 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.4951, allocations: 45.09 kB / 0.756 GB, free: 72 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=26): time 1.744e-06/0.4951, allocations: 0 / 0.756 GB, free: 72 kB / 0.6355 GB Notification: Performance of matching and sorting (n=26): time 0.000548/0.4956, allocations: 367.1 kB / 0.7563 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.4956, allocations: 54.86 kB / 0.7564 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.496, allocations: 407.6 kB / 0.7568 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.496, allocations: 33.61 kB / 0.7568 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/0.4962, allocations: 278.8 kB / 0.7571 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.602e-05/0.4963, allocations: 98.64 kB / 0.7572 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.645e-05/0.4964, allocations: 75.39 kB / 0.7572 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.4965, allocations: 349.9 kB / 0.7576 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4966, allocations: 97.56 kB / 0.7577 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001991/0.4968, allocations: 258.1 kB / 0.7579 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.4971, allocations: 269.8 kB / 0.7582 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4971, allocations: 0 / 0.7582 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004255/0.4975, allocations: 366.9 kB / 0.7585 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4975, allocations: 6.172 kB / 0.7585 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4975, allocations: 2.219 kB / 0.7585 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4976, allocations: 3.344 kB / 0.7585 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.4977, allocations: 73.72 kB / 0.7586 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.958e-06/0.4977, allocations: 8.641 kB / 0.7586 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.4979, allocations: 29.3 kB / 0.7586 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.4979, allocations: 17.69 kB / 0.7587 GB, free: 14.35 MB / 0.6511 GB 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 0.0001432/0.498, allocations: 183.2 kB / 0.7588 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.4981, allocations: 45.8 kB / 0.7589 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.4987, allocations: 477.5 kB / 0.7593 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.4987, allocations: 8.875 kB / 0.7593 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.4987, allocations: 5.188 kB / 0.7594 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004205/0.4991, allocations: 0.5726 MB / 0.7599 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5003, allocations: 0.9514 MB / 0.7608 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.5003, allocations: 2.469 kB / 0.7608 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.5004, allocations: 58.03 kB / 0.7609 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5004, allocations: 3.188 kB / 0.7609 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.901e-05/0.5004, allocations: 10.66 kB / 0.7609 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5004, allocations: 2.734 kB / 0.7609 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.5004, allocations: 6.969 kB / 0.7609 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006535/0.5011, allocations: 0.6637 MB / 0.7616 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.5012, allocations: 87.69 kB / 0.7617 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.502e-05/0.5012, allocations: 12.33 kB / 0.7617 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.5014, allocations: 10.02 kB / 0.7617 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.5014, allocations: 33.25 kB / 0.7617 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/0.5014, allocations: 17.45 kB / 0.7617 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002367/0.5017, allocations: 279.7 kB / 0.762 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8e-08/0.5017, allocations: 3.938 kB / 0.762 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004964/0.5022, allocations: 208.7 kB / 0.7622 GB, free: 12.33 MB / 0.6511 GB 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0004018/0.5026, allocations: 278.7 kB / 0.7625 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.5029, allocations: 290 kB / 0.7627 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5029, allocations: 3.938 kB / 0.7627 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.5031, allocations: 155.3 kB / 0.7629 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007766/0.5039, allocations: 259 kB / 0.7631 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.5051, allocations: 1.092 MB / 0.7642 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.5053, allocations: 258.9 kB / 0.7644 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.5054, allocations: 56.67 kB / 0.7645 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/0.5054, allocations: 0 / 0.7645 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.009017/0.5144, allocations: 9.213 MB / 0.7735 GB, free: 6.223 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.688798600109294] Failed to read output from testmodel.py, exit status != 0: 0.5199382118880749 0.52868352 0.037158106 Calling exit ...