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.0006884/0.0006884, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008718/0.00156, 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.001018/0.001018, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.002384, 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 1.049/1.049, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08809/1.138, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.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-545:108: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-545:116: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.7861/0.7861, allocations: 154.6 MB / 398.8 MB, free: 368 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2545/1.041, allocations: 49.05 MB / 447.8 MB, free: 6.59 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/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: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 449.2 MB, free: 5.254 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.137e-05, allocations: 2.312 kB / 449.2 MB, free: 5.25 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.00708/0.007101, allocations: 8.778 MB / 458 MB, free: 12.51 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003876/0.01098, allocations: 3.362 MB / 461.3 MB, free: 9.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003515/0.01133, allocations: 44.28 kB / 461.4 MB, free: 9.125 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.01168, allocations: 186.6 kB / 461.5 MB, free: 8.941 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.01254, allocations: 0.6706 MB / 462.2 MB, free: 8.273 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007893/0.01333, allocations: 0.6479 MB / 462.9 MB, free: 7.633 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01442, allocations: 1.624 MB / 464.5 MB, free: 6.012 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.015, allocations: 423.4 kB / 464.9 MB, free: 5.602 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007309/0.01573, allocations: 0.8117 MB / 465.7 MB, free: 4.797 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003481/0.01608, allocations: 380.2 kB / 466.1 MB, free: 4.426 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.01614, allocations: 44 kB / 466.1 MB, free: 4.383 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003556/0.01649, allocations: 272.2 kB / 466.4 MB, free: 4.117 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.921e-05/0.01658, allocations: 119.5 kB / 466.5 MB, free: 4 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.01671, allocations: 176.2 kB / 466.7 MB, free: 3.828 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005543/0.01727, allocations: 0.5702 MB / 467.3 MB, free: 3.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.264e-05/0.01728, allocations: 0 / 467.3 MB, free: 3.258 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.31e-07/0.01728, allocations: 0 / 467.3 MB, free: 3.258 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.0173, allocations: 0 / 467.3 MB, free: 3.258 MB / 442.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.0008406/0.01814, allocations: 0.9118 MB / 468.2 MB, free: 2.324 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.01817, allocations: 8.031 kB / 468.2 MB, free: 2.316 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.01836, allocations: 161.9 kB / 468.3 MB, free: 2.141 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.0188, allocations: 425 kB / 468.7 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.01882, allocations: 29.38 kB / 468.8 MB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.53e-05/0.01887, allocations: 42.56 kB / 468.8 MB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003078/0.01917, allocations: 388.5 kB / 469.2 MB, free: 1.215 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01919, allocations: 11.92 kB / 469.2 MB, free: 1.203 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.01922, allocations: 16 kB / 469.2 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.01924, allocations: 8 kB / 469.2 MB, free: 1.18 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.01939, allocations: 118.5 kB / 469.3 MB, free: 1.062 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.02051, allocations: 1.126 MB / 470.5 MB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.02088, allocations: 185.9 kB / 470.7 MB, free: 15.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.454e-05/0.02093, allocations: 56.84 kB / 470.7 MB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001529/0.02108, allocations: 68.73 kB / 470.8 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.0211, allocations: 38.56 kB / 470.8 MB, free: 15.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.272e-06/0.02111, allocations: 1.5 kB / 470.8 MB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0002271/0.02133, allocations: 162.2 kB / 471 MB, free: 15.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.02135, allocations: 55.34 kB / 471 MB, free: 15.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.02157, allocations: 360.9 kB / 471.4 MB, free: 14.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.02159, allocations: 34.45 kB / 471.4 MB, free: 14.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.02169, allocations: 229.3 kB / 471.6 MB, free: 14.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.02174, allocations: 103.6 kB / 471.7 MB, free: 14.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.574e-05/0.02181, allocations: 67.47 kB / 471.8 MB, free: 14.51 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.02189, allocations: 358.6 kB / 472.2 MB, free: 14.15 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.02194, allocations: 35.45 kB / 472.2 MB, free: 14.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.02203, allocations: 169.2 kB / 472.4 MB, free: 13.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.02224, allocations: 174.1 kB / 472.5 MB, free: 13.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.02225, allocations: 0.6875 kB / 472.5 MB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001895/0.02243, allocations: 196 kB / 472.7 MB, free: 13.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.02245, allocations: 4 kB / 472.7 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.02245, allocations: 5.875 kB / 472.7 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.02246, allocations: 4 kB / 472.7 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.02264, allocations: 87.88 kB / 472.8 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.02265, allocations: 4.906 kB / 472.8 MB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.02275, allocations: 27.78 kB / 472.8 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.02277, allocations: 12 kB / 472.9 MB, free: 13.38 MB / 458.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 8.815e-05/0.02285, allocations: 134.3 kB / 473 MB, free: 13.24 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.0229, allocations: 39.91 kB / 473 MB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003126/0.02321, allocations: 267.7 kB / 473.3 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.02322, allocations: 9.094 kB / 473.3 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.02322, allocations: 0 / 473.3 MB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001775/0.0234, allocations: 384 kB / 473.7 MB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.02407, allocations: 0.6811 MB / 474.4 MB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.02407, allocations: 5.219 kB / 474.4 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.02421, allocations: 59.91 kB / 474.4 MB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/0.02429, allocations: 68.64 kB / 474.5 MB, free: 11.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.0243, allocations: 4 kB / 474.5 MB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.02432, allocations: 15.92 kB / 474.5 MB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/0.02432, allocations: 9.062 kB / 474.5 MB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.02432, allocations: 3.938 kB / 474.5 MB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.02462, allocations: 419.3 kB / 474.9 MB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.144e-05/0.02465, allocations: 9.125 kB / 474.9 MB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.02476, allocations: 12.92 kB / 475 MB, free: 11.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.02479, allocations: 31.84 kB / 475 MB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.02481, allocations: 8.609 kB / 475 MB, free: 11.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.02492, allocations: 156.5 kB / 475.1 MB, free: 10.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02492, allocations: 0 / 475.1 MB, free: 10.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003209/0.02524, allocations: 179.6 kB / 475.3 MB, free: 10.77 MB / 458.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.0002349/0.02548, allocations: 188.6 kB / 475.5 MB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.02566, allocations: 156.3 kB / 475.7 MB, free: 10.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.02567, allocations: 4 kB / 475.7 MB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.02579, allocations: 109.1 kB / 475.8 MB, free: 10.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.02689, allocations: 1.58 MB / 477.3 MB, free: 8.473 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.03046, allocations: 0.8694 MB / 478.2 MB, free: 7.555 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.628e-05/0.03054, allocations: 133.8 kB / 478.3 MB, free: 7.402 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.03072, allocations: 86.42 kB / 478.4 MB, free: 7.324 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003305/0.03105, allocations: 237.5 kB / 478.7 MB, free: 7.094 MB / 458.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03105, allocations: 3.938 kB / 478.7 MB, free: 7.09 MB / 458.7 MB Notification: Performance of Templates: time 0.01203/0.04308, allocations: 11.32 MB / 490 MB, free: 12.34 MB / 474.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8475723918527365]