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.001188/0.001188, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002033/0.003221, allocations: 435.8 kB / 10.33 MB, free: 368 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.001371/0.001371, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001798/0.003169, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1136/1.115, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.7732/0.7732, allocations: 154.6 MB / 398.5 MB, free: 0.5312 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2678/1.041, allocations: 49.04 MB / 447.6 MB, free: 6.707 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.613e-06/1.613e-06, allocations: 0 / 448.9 MB, free: 5.395 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.75e-05, allocations: 4.844 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01047/0.0105, allocations: 8.768 MB / 457.7 MB, free: 12.67 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005334/0.01583, allocations: 3.375 MB / 461.1 MB, free: 9.312 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006505/0.01648, allocations: 35.69 kB / 461.1 MB, free: 9.277 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004202/0.0169, allocations: 195.1 kB / 461.3 MB, free: 9.086 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.01814, allocations: 0.6504 MB / 461.9 MB, free: 8.438 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.01941, allocations: 0.6604 MB / 462.6 MB, free: 7.785 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001516/0.02093, allocations: 1.616 MB / 464.2 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009404/0.02187, allocations: 429.4 kB / 464.6 MB, free: 5.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.02389, allocations: 0.8149 MB / 465.4 MB, free: 4.941 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.02499, allocations: 391.5 kB / 465.8 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.02515, allocations: 44 kB / 465.9 MB, free: 4.516 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009119/0.02606, allocations: 268.3 kB / 466.1 MB, free: 4.254 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.02624, allocations: 119.5 kB / 466.2 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000338/0.02657, allocations: 179.6 kB / 466.4 MB, free: 3.961 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001297/0.02787, allocations: 0.5695 MB / 467 MB, free: 3.391 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.205e-05/0.02789, allocations: 0 / 467 MB, free: 3.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.0279, allocations: 0 / 467 MB, free: 3.391 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.411e-05/0.02793, allocations: 1.125 kB / 467 MB, free: 3.391 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.001579/0.02951, allocations: 0.9112 MB / 467.9 MB, free: 2.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.02955, allocations: 8.031 kB / 467.9 MB, free: 2.449 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003302/0.02988, allocations: 162.8 kB / 468.1 MB, free: 2.273 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008115/0.0307, allocations: 416.7 kB / 468.5 MB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.545e-05/0.03073, allocations: 33.36 kB / 468.5 MB, free: 1.812 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/0.0308, allocations: 41.41 kB / 468.6 MB, free: 1.773 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/0.03135, allocations: 393.5 kB / 468.9 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.03137, allocations: 0 / 468.9 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.617e-05/0.03141, allocations: 20.91 kB / 469 MB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.161e-05/0.03145, allocations: 12 kB / 469 MB, free: 1.316 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.03173, allocations: 122.6 kB / 469.1 MB, free: 1.195 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.0338, allocations: 1.125 MB / 470.2 MB, free: 48 kB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.03424, allocations: 183.1 kB / 470.4 MB, free: 15.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.03433, allocations: 47.67 kB / 470.4 MB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003017/0.03464, allocations: 71.86 kB / 470.5 MB, free: 15.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.456e-05/0.03467, allocations: 34.56 kB / 470.5 MB, free: 15.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.665e-06/0.03467, allocations: 5.188 kB / 470.5 MB, free: 15.69 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003837/0.03506, allocations: 154.2 kB / 470.7 MB, free: 15.54 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.0351, allocations: 59.34 kB / 470.8 MB, free: 15.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.03547, allocations: 366 kB / 471.1 MB, free: 15.09 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.0355, allocations: 29.7 kB / 471.1 MB, free: 15.06 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.03564, allocations: 234 kB / 471.4 MB, free: 14.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.313e-05/0.03572, allocations: 103.1 kB / 471.5 MB, free: 14.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.03582, allocations: 67.45 kB / 471.5 MB, free: 14.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.03594, allocations: 358.7 kB / 471.9 MB, free: 14.29 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.459e-05/0.03601, allocations: 31.47 kB / 471.9 MB, free: 14.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.03617, allocations: 177.2 kB / 472.1 MB, free: 14.05 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002256/0.03639, allocations: 163.3 kB / 472.3 MB, free: 13.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.0364, allocations: 0 / 472.3 MB, free: 13.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003207/0.03672, allocations: 200.2 kB / 472.4 MB, free: 13.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.03674, allocations: 5.719 kB / 472.5 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.03675, allocations: 5.344 kB / 472.5 MB, free: 13.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.03676, allocations: 4 kB / 472.5 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.03707, allocations: 84.8 kB / 472.5 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.03708, allocations: 8 kB / 472.6 MB, free: 13.56 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.03728, allocations: 29.62 kB / 472.6 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.834e-05/0.03732, allocations: 15.98 kB / 472.6 MB, free: 13.52 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 0.000141/0.03746, allocations: 136.5 kB / 472.7 MB, free: 13.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.316e-05/0.03753, allocations: 31.97 kB / 472.8 MB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.03805, allocations: 264.6 kB / 473 MB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.03807, allocations: 8 kB / 473 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.03807, allocations: 3.938 kB / 473 MB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003059/0.03838, allocations: 385.2 kB / 473.4 MB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.03955, allocations: 0.6881 MB / 474.1 MB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.03955, allocations: 0 / 474.1 MB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.03979, allocations: 55.91 kB / 474.2 MB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.03994, allocations: 76.08 kB / 474.2 MB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.03994, allocations: 0.9375 kB / 474.2 MB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.03997, allocations: 8 kB / 474.2 MB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.03998, allocations: 7.938 kB / 474.2 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.03998, allocations: 9.062 kB / 474.3 MB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.04048, allocations: 417.5 kB / 474.7 MB, free: 11.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.04053, allocations: 8 kB / 474.7 MB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.04073, allocations: 8 kB / 474.7 MB, free: 11.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.737e-05/0.04078, allocations: 35.83 kB / 474.7 MB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.04081, allocations: 4.688 kB / 474.7 MB, free: 11.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.04099, allocations: 156.3 kB / 474.9 MB, free: 11.09 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.04099, allocations: 0 / 474.9 MB, free: 11.09 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0006007/0.04159, allocations: 179.6 kB / 475 MB, free: 10.92 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.0003879/0.04197, allocations: 181.3 kB / 475.2 MB, free: 10.74 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.04225, allocations: 146.6 kB / 475.4 MB, free: 10.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.602e-05/0.04226, allocations: 11.94 kB / 475.4 MB, free: 10.58 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.04238, allocations: 90.89 kB / 475.5 MB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009689/0.04335, allocations: 311.2 kB / 475.8 MB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00593/0.04928, allocations: 0.8781 MB / 476.6 MB, free: 9.293 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.0494, allocations: 129.8 kB / 476.8 MB, free: 9.145 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003623/0.04976, allocations: 87.11 kB / 476.9 MB, free: 9.066 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.05029, allocations: 232.5 kB / 477.1 MB, free: 8.84 MB / 458.7 MB Notification: Performance of SimCode: time 1.654e-06/0.05029, allocations: 0 / 477.1 MB, free: 8.84 MB / 458.7 MB Notification: Performance of Templates: time 0.02008/0.07038, allocations: 11.25 MB / 488.3 MB, free: 14.16 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.902997037395835]