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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.095/1.095, allocations: 177.9 MB / 484.2 MB, free: 5.371 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001984/0.001984, allocations: 67.08 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.63/0.632, allocations: 95.17 MB / 0.7669 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02647/0.6585, allocations: 23.67 MB / 0.79 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01141/0.6699, allocations: 5.135 MB / 0.7951 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.672, allocations: 40.12 kB / 0.7951 GB, free: 3.812 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.6731, allocations: 283.8 kB / 0.7954 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.6763, allocations: 0.8448 MB / 0.7962 GB, free: 3.145 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.679, allocations: 0.8135 MB / 0.797 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.6819, allocations: 1.667 MB / 0.7986 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.6827, allocations: 393.3 kB / 0.799 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.685, allocations: 0.7254 MB / 0.7997 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.686, allocations: 468.6 kB / 0.8001 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.6861, allocations: 46.16 kB / 0.8002 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001722/0.6879, allocations: 0.5038 MB / 0.8007 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.6881, allocations: 157.7 kB / 0.8008 GB, free: 0.9219 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.6886, allocations: 303.4 kB / 0.8011 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.6905, allocations: 0.9329 MB / 0.802 GB, free: 412 kB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.6905, allocations: 0 / 0.802 GB, free: 412 kB / 0.5919 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6905, allocations: 0 / 0.802 GB, free: 412 kB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.066e-05/0.6905, allocations: 1.25 kB / 0.802 GB, free: 412 kB / 0.5919 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.001608/0.6921, allocations: 0.8349 MB / 0.8028 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6922, allocations: 14.27 kB / 0.8029 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002495/0.6924, allocations: 67.42 kB / 0.8029 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.6936, allocations: 0.5056 MB / 0.8034 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.6936, allocations: 33.31 kB / 0.8034 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.6937, allocations: 42.64 kB / 0.8035 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008249/0.6946, allocations: 441.3 kB / 0.8039 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.6946, allocations: 0 / 0.8039 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.601e-05/0.6946, allocations: 15.88 kB / 0.8039 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.6946, allocations: 10.39 kB / 0.8039 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.6952, allocations: 304.1 kB / 0.8042 GB, free: 15.09 MB / 0.6075 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.003177/0.6984, allocations: 1.788 MB / 0.806 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005754/0.699, allocations: 248 kB / 0.8062 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.6992, allocations: 111.4 kB / 0.8063 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.6997, allocations: 99.34 kB / 0.8064 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.6998, allocations: 37.38 kB / 0.8064 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.6998, allocations: 1.062 kB / 0.8064 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0008424/0.7006, allocations: 381.9 kB / 0.8068 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.7007, allocations: 54.22 kB / 0.8069 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006578/0.7013, allocations: 473.2 kB / 0.8073 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.16e-05/0.7014, allocations: 31.92 kB / 0.8073 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.7016, allocations: 263.2 kB / 0.8076 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.7017, allocations: 100 kB / 0.8077 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.7019, allocations: 70.05 kB / 0.8078 GB, free: 12.85 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.702, allocations: 357.2 kB / 0.8081 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.7022, allocations: 101.5 kB / 0.8082 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.7025, allocations: 169.7 kB / 0.8084 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004676/0.703, allocations: 285.8 kB / 0.8086 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.703, allocations: 0 / 0.8086 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006642/0.7037, allocations: 370 kB / 0.809 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7037, allocations: 12.19 kB / 0.809 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.7037, allocations: 3.203 kB / 0.809 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.7037, allocations: 3.406 kB / 0.809 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.704, allocations: 70.05 kB / 0.8091 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.704, allocations: 4.75 kB / 0.8091 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.7044, allocations: 43.14 kB / 0.8091 GB, free: 12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.785e-05/0.7044, allocations: 16.61 kB / 0.8091 GB, free: 12 MB / 0.6075 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.0002489/0.7047, allocations: 184.5 kB / 0.8093 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.7048, allocations: 56.02 kB / 0.8094 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009337/0.7057, allocations: 484.1 kB / 0.8098 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/0.7058, allocations: 8.75 kB / 0.8098 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7058, allocations: 0 / 0.8098 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006697/0.7064, allocations: 0.5731 MB / 0.8104 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002087/0.7085, allocations: 1.065 MB / 0.8114 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.7085, allocations: 2.969 kB / 0.8114 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.7088, allocations: 59.06 kB / 0.8115 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.7088, allocations: 1.875 kB / 0.8115 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.75e-05/0.7088, allocations: 9.781 kB / 0.8115 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7088, allocations: 3.75 kB / 0.8115 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.7088, allocations: 2 kB / 0.8115 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.7098, allocations: 0.6838 MB / 0.8122 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002798/0.7101, allocations: 97.66 kB / 0.8123 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.7102, allocations: 8.125 kB / 0.8123 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002922/0.7105, allocations: 20.11 kB / 0.8123 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.893e-05/0.7105, allocations: 29.45 kB / 0.8123 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.7106, allocations: 15 kB / 0.8123 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004789/0.711, allocations: 348.2 kB / 0.8127 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.711, allocations: 0 / 0.8127 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008615/0.7119, allocations: 203.4 kB / 0.8129 GB, free: 9.684 MB / 0.6075 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.0008261/0.7127, allocations: 296.9 kB / 0.8131 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006487/0.7134, allocations: 279.6 kB / 0.8134 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.7134, allocations: 5.406 kB / 0.8134 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.7136, allocations: 155 kB / 0.8136 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.7153, allocations: 344.9 kB / 0.8139 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.7175, allocations: 1.092 MB / 0.815 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.7181, allocations: 0.86 MB / 0.8158 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0004367/0.7186, allocations: 120.4 kB / 0.8159 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.7187, allocations: 59.28 kB / 0.816 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of SimCode: time 5.71e-07/0.7187, allocations: 0 / 0.816 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of Templates: time 0.02954/0.7482, allocations: 12.52 MB / 0.8282 GB, free: 1.285 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.0142632173374295] Failed to read output from testmodel.py, exit status != 0: 0.7584320362657309 0.788722003 0.09219811300000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f3a1978d7b0>