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.0007023/0.0007023, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001733, 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.0007342/0.0007342, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001061/0.001796, 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.04/1.04, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09098/1.131, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8275/0.8275, allocations: 155.3 MB / 399.3 MB, free: 15.91 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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.2868/1.114, allocations: 49.12 MB / 448.4 MB, free: 6 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-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 8.41e-07/8.41e-07, allocations: 0 / 449.7 MB, free: 4.691 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.022e-05, allocations: 2.312 kB / 449.7 MB, free: 4.688 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.01072/0.01074, allocations: 8.771 MB / 458.5 MB, free: 11.95 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.006635/0.01738, allocations: 3.373 MB / 461.9 MB, free: 8.598 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.01837, allocations: 35.69 kB / 461.9 MB, free: 8.562 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.01897, allocations: 191.3 kB / 462.1 MB, free: 8.375 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.02074, allocations: 0.6635 MB / 462.7 MB, free: 7.715 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.02233, allocations: 0.6516 MB / 463.4 MB, free: 7.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002028/0.02436, allocations: 1.621 MB / 465 MB, free: 5.449 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009889/0.02535, allocations: 430.8 kB / 465.4 MB, free: 5.031 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/0.02668, allocations: 0.8146 MB / 466.3 MB, free: 4.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005945/0.02727, allocations: 393.8 kB / 466.6 MB, free: 3.848 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.02736, allocations: 48 kB / 466.7 MB, free: 3.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006654/0.02803, allocations: 263.5 kB / 466.9 MB, free: 3.543 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.02817, allocations: 123.5 kB / 467.1 MB, free: 3.422 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.02841, allocations: 181.2 kB / 467.2 MB, free: 3.246 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001028/0.02944, allocations: 0.5645 MB / 467.8 MB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.018e-05/0.02946, allocations: 0 / 467.8 MB, free: 2.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.02946, allocations: 0 / 467.8 MB, free: 2.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.398e-05/0.02948, allocations: 3.938 kB / 467.8 MB, free: 2.676 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.001316/0.0308, allocations: 0.9119 MB / 468.7 MB, free: 1.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.03083, allocations: 8.031 kB / 468.7 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002865/0.03112, allocations: 162.7 kB / 468.9 MB, free: 1.555 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/0.03184, allocations: 421.5 kB / 469.3 MB, free: 1.125 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.03188, allocations: 33.31 kB / 469.3 MB, free: 1.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.398e-05/0.03195, allocations: 36.38 kB / 469.4 MB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005069/0.03246, allocations: 397.1 kB / 469.8 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.03248, allocations: 0 / 469.8 MB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.03251, allocations: 17.44 kB / 469.8 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.03255, allocations: 13.12 kB / 469.8 MB, free: 0.6016 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.03278, allocations: 121.7 kB / 469.9 MB, free: 496 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001815/0.0346, allocations: 1.122 MB / 471 MB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003574/0.03496, allocations: 180.3 kB / 471.2 MB, free: 15.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.904e-05/0.03504, allocations: 49.11 kB / 471.3 MB, free: 15.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002477/0.03528, allocations: 72.48 kB / 471.3 MB, free: 15.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.03531, allocations: 34.56 kB / 471.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 2.294e-06/0.03531, allocations: 0.875 kB / 471.4 MB, free: 14.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.0003504/0.03566, allocations: 161.5 kB / 471.5 MB, free: 14.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.0357, allocations: 60.06 kB / 471.6 MB, free: 14.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003301/0.03603, allocations: 358.4 kB / 471.9 MB, free: 14.38 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.03606, allocations: 33.69 kB / 472 MB, free: 14.34 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001438/0.03621, allocations: 237.3 kB / 472.2 MB, free: 14.1 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.119e-05/0.03628, allocations: 95.16 kB / 472.3 MB, free: 14.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.03637, allocations: 71.36 kB / 472.4 MB, free: 13.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.03651, allocations: 362.6 kB / 472.7 MB, free: 13.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.03658, allocations: 31.47 kB / 472.7 MB, free: 13.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.03672, allocations: 169.2 kB / 472.9 MB, free: 13.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.03693, allocations: 167.2 kB / 473.1 MB, free: 13.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.03694, allocations: 0 / 473.1 MB, free: 13.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003055/0.03724, allocations: 194.3 kB / 473.3 MB, free: 12.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.03726, allocations: 8.859 kB / 473.3 MB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.03727, allocations: 4 kB / 473.3 MB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.03728, allocations: 4.75 kB / 473.3 MB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.03757, allocations: 81.45 kB / 473.4 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.03757, allocations: 7.938 kB / 473.4 MB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.03775, allocations: 31.78 kB / 473.4 MB, free: 12.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.03779, allocations: 11.98 kB / 473.4 MB, free: 12.8 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.0001284/0.03791, allocations: 141.9 kB / 473.5 MB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.03798, allocations: 31.97 kB / 473.6 MB, free: 12.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.03847, allocations: 269 kB / 473.8 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.03849, allocations: 4 kB / 473.8 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.03849, allocations: 0 / 473.8 MB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002991/0.03879, allocations: 388.3 kB / 474.2 MB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.0399, allocations: 0.6926 MB / 474.9 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.0399, allocations: 4 kB / 474.9 MB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002228/0.04012, allocations: 51.97 kB / 475 MB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/0.04026, allocations: 75.53 kB / 475 MB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/0.04027, allocations: 4 kB / 475 MB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.0403, allocations: 8 kB / 475 MB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.04031, allocations: 12.72 kB / 475.1 MB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.04031, allocations: 0 / 475.1 MB, free: 11.03 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.04083, allocations: 416.8 kB / 475.5 MB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.04088, allocations: 13.17 kB / 475.5 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.04107, allocations: 8 kB / 475.5 MB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.04112, allocations: 23.89 kB / 475.5 MB, free: 10.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.903e-05/0.04115, allocations: 14 kB / 475.5 MB, free: 10.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.04133, allocations: 155.5 kB / 475.7 MB, free: 10.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.04133, allocations: 0 / 475.7 MB, free: 10.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005889/0.04192, allocations: 183.6 kB / 475.9 MB, free: 10.2 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.0003708/0.04229, allocations: 177.4 kB / 476 MB, free: 10.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.04257, allocations: 154.5 kB / 476.2 MB, free: 9.875 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/0.04258, allocations: 4 kB / 476.2 MB, free: 9.871 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.04271, allocations: 93.86 kB / 476.3 MB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.04369, allocations: 306.6 kB / 476.6 MB, free: 9.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.04769, allocations: 0.8737 MB / 477.5 MB, free: 8.578 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.84e-05/0.04777, allocations: 125.8 kB / 477.6 MB, free: 8.434 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002313/0.048, allocations: 84.44 kB / 477.7 MB, free: 8.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.04836, allocations: 235.1 kB / 477.9 MB, free: 8.129 MB / 458.7 MB Notification: Performance of SimCode: time 7.21e-07/0.04836, allocations: 0 / 477.9 MB, free: 8.129 MB / 458.7 MB Notification: Performance of Templates: time 0.01417/0.06253, allocations: 11.28 MB / 489.2 MB, free: 13.45 MB / 474.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: 3.8944498049095273]