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.00142/0.00142, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001626/0.001626, allocations: 177 kB / 23.35 MB, free: 1.137 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 1.027/1.027, allocations: 177.1 MB / 203.8 MB, free: 5.488 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-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.8295/0.8295, allocations: 154.6 MB / 414.8 MB, free: 496 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. " [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.603e-06/1.603e-06, allocations: 0 / 480.1 MB, free: 6.871 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.882e-05, allocations: 2.312 kB / 480.1 MB, free: 6.867 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.007443/0.007462, allocations: 8.747 MB / 488.8 MB, free: 14.16 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004367/0.01183, allocations: 3.353 MB / 492.2 MB, free: 10.82 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004082/0.01224, allocations: 35.69 kB / 492.2 MB, free: 10.79 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.01265, allocations: 187.4 kB / 492.4 MB, free: 10.61 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.01367, allocations: 0.6583 MB / 493 MB, free: 9.949 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.0146, allocations: 0.661 MB / 493.7 MB, free: 9.293 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001314/0.01591, allocations: 1.629 MB / 495.3 MB, free: 7.66 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006411/0.01655, allocations: 417.9 kB / 495.7 MB, free: 7.246 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007844/0.01734, allocations: 0.7565 MB / 496.5 MB, free: 6.504 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.01772, allocations: 384 kB / 496.9 MB, free: 6.129 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.01777, allocations: 48 kB / 496.9 MB, free: 6.082 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.01825, allocations: 275.3 kB / 497.2 MB, free: 5.812 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.01837, allocations: 152.5 kB / 497.3 MB, free: 5.664 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.01855, allocations: 215.5 kB / 497.5 MB, free: 5.453 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006556/0.01921, allocations: 0.619 MB / 498.2 MB, free: 4.832 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01921, allocations: 1.188 kB / 498.2 MB, free: 4.832 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.01921, allocations: 0 / 498.2 MB, free: 4.832 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.01921, allocations: 0 / 498.2 MB, free: 4.832 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.0007411/0.01995, allocations: 0.774 MB / 498.9 MB, free: 4.035 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.751e-05/0.01998, allocations: 8.031 kB / 498.9 MB, free: 4.027 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.02014, allocations: 84.77 kB / 499 MB, free: 3.945 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.0206, allocations: 424.9 kB / 499.4 MB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.02062, allocations: 29.38 kB / 499.5 MB, free: 3.48 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.02066, allocations: 41.09 kB / 499.5 MB, free: 3.441 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003455/0.021, allocations: 396.5 kB / 499.9 MB, free: 3.016 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.02102, allocations: 0.75 kB / 499.9 MB, free: 3.016 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.282e-05/0.02104, allocations: 16 kB / 499.9 MB, free: 3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.02106, allocations: 12.81 kB / 499.9 MB, free: 2.988 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001523/0.02122, allocations: 123.6 kB / 0.4883 GB, free: 2.867 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.02241, allocations: 1.118 MB / 0.4894 GB, free: 1.723 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.02273, allocations: 183.4 kB / 0.4896 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.02278, allocations: 49.31 kB / 0.4896 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.02295, allocations: 77.11 kB / 0.4897 GB, free: 1.406 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.02298, allocations: 47.17 kB / 0.4898 GB, free: 1.352 MB / 458.7 MB Notification: Performance of pre-optimization done (n=26): time 1.333e-06/0.02298, allocations: 0.5625 kB / 0.4898 GB, free: 1.352 MB / 458.7 MB Notification: Performance of matching and sorting (n=26): time 0.000226/0.0232, allocations: 153.5 kB / 0.4899 GB, free: 1.195 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.02323, allocations: 64.44 kB / 0.49 GB, free: 1.121 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.02345, allocations: 356.9 kB / 0.4903 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.02347, allocations: 33.7 kB / 0.4903 GB, free: 0.7227 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.86e-05/0.02357, allocations: 230.1 kB / 0.4906 GB, free: 500 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.993e-05/0.02362, allocations: 95.16 kB / 0.4906 GB, free: 404 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.975e-05/0.02369, allocations: 75.61 kB / 0.4907 GB, free: 324 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.02379, allocations: 358.6 kB / 0.4911 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.776e-05/0.02384, allocations: 31.47 kB / 0.4911 GB, free: 15.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002188/0.02406, allocations: 173.2 kB / 0.4913 GB, free: 15.71 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001452/0.0242, allocations: 163 kB / 0.4914 GB, free: 15.53 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.0242, allocations: 1.125 kB / 0.4914 GB, free: 15.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002001/0.0244, allocations: 186.2 kB / 0.4916 GB, free: 15.34 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.02442, allocations: 8.625 kB / 0.4916 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.02442, allocations: 0 / 0.4916 GB, free: 15.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.02443, allocations: 5.031 kB / 0.4916 GB, free: 15.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.0246, allocations: 79.89 kB / 0.4917 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.02461, allocations: 5.188 kB / 0.4917 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.02471, allocations: 31.73 kB / 0.4917 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.02473, allocations: 8 kB / 0.4917 GB, free: 15.21 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.923e-05/0.02483, allocations: 141.9 kB / 0.4919 GB, free: 15.06 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.02488, allocations: 35.97 kB / 0.4919 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003055/0.02518, allocations: 263.9 kB / 0.4921 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.02519, allocations: 4 kB / 0.4921 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.02519, allocations: 1.188 kB / 0.4921 GB, free: 14.77 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001927/0.02538, allocations: 388.2 kB / 0.4925 GB, free: 14.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007271/0.02611, allocations: 0.6932 MB / 0.4932 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.02611, allocations: 8.625 kB / 0.4932 GB, free: 13.58 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.02625, allocations: 54.7 kB / 0.4933 GB, free: 13.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.02626, allocations: 4 kB / 0.4933 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.02627, allocations: 8 kB / 0.4933 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02628, allocations: 0 / 0.4933 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.02628, allocations: 16.91 kB / 0.4933 GB, free: 13.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003142/0.0266, allocations: 421.4 kB / 0.4937 GB, free: 13.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.02668, allocations: 63.62 kB / 0.4937 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.089e-05/0.02672, allocations: 8 kB / 0.4938 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.02684, allocations: 11.98 kB / 0.4938 GB, free: 12.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.02687, allocations: 27.84 kB / 0.4938 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.02688, allocations: 13.92 kB / 0.4938 GB, free: 12.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.027, allocations: 155.5 kB / 0.494 GB, free: 12.78 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.027, allocations: 0 / 0.494 GB, free: 12.78 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000305/0.02731, allocations: 175.6 kB / 0.4941 GB, free: 12.61 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.0002239/0.02753, allocations: 176.8 kB / 0.4943 GB, free: 12.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.02772, allocations: 164.1 kB / 0.4944 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.02773, allocations: 5.281 kB / 0.4944 GB, free: 12.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 9.089e-05/0.02782, allocations: 85.47 kB / 0.4945 GB, free: 12.18 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/0.02872, allocations: 261.8 kB / 0.4948 GB, free: 11.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.02979, allocations: 0.8641 MB / 0.4956 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.94e-05/0.02987, allocations: 134.7 kB / 0.4958 GB, free: 10.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.03005, allocations: 86.83 kB / 0.4958 GB, free: 10.83 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003452/0.0304, allocations: 232 kB / 0.4961 GB, free: 10.6 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0304, allocations: 3.938 kB / 0.4961 GB, free: 10.6 MB / 474.7 MB Notification: Performance of Templates: time 0.01222/0.04262, allocations: 10.82 MB / 0.5066 GB, free: 284 kB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.95052920980379]