Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HeatingOfWater.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.001164/0.001164, allocations: 113.3 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001338/0.001338, allocations: 214.2 kB / 22.25 MB, free: 5.082 MB / 14.72 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.378/1.378, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1268/0.1268, allocations: 23.85 MB / 336.3 MB, free: 11.24 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.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(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.89 kB / 471.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2688, allocations: 59.86 MB / 0.519 GB, free: 9.898 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Warning: An inner declaration for outer component dropOfCommons could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343:76:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"dropOfCommons\" component but an inner \"dropOfCommons\" component is not defined. Use Chemical.DropOfCommons in your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Examples.HeatingOfWater): time 0.03014/0.2989, allocations: 26.29 MB / 0.5447 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.3102, allocations: 8.413 MB / 0.5529 GB, free: 5.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006325/0.3108, allocations: 19.88 kB / 0.553 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.3129, allocations: 0.7924 MB / 0.5537 GB, free: 5.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.314, allocations: 0.5544 MB / 0.5543 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001372/0.3154, allocations: 0.7422 MB / 0.555 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.3167, allocations: 1.118 MB / 0.5561 GB, free: 3.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002711/0.317, allocations: 168.3 kB / 0.5562 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.3174, allocations: 384.2 kB / 0.5566 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005022/0.3179, allocations: 415 kB / 0.557 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.318, allocations: 84 kB / 0.5571 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.3207, allocations: 1.559 MB / 0.5586 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002458/0.321, allocations: 263.1 kB / 0.5589 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004675/0.3214, allocations: 0.5423 MB / 0.5594 GB, free: 216 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003115/0.3245, allocations: 2.498 MB / 0.5618 GB, free: 14.33 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.3245, allocations: 7.984 kB / 0.5618 GB, free: 14.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.3245, allocations: 0 / 0.5618 GB, free: 14.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.3246, allocations: 0 / 0.5618 GB, free: 14.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.002161/0.3267, allocations: 1.399 MB / 0.5632 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3267, allocations: 12.03 kB / 0.5632 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.3273, allocations: 224 kB / 0.5634 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007966/0.3281, allocations: 0.5288 MB / 0.5639 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.3283, allocations: 169.9 kB / 0.5641 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3284, allocations: 92.31 kB / 0.5642 GB, free: 11.83 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004131/0.3325, allocations: 3.796 MB / 0.5679 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.3326, allocations: 0 / 0.5679 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.934e-05/0.3326, allocations: 35.98 kB / 0.5679 GB, free: 7.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001689/0.3328, allocations: 150 kB / 0.5681 GB, free: 7.836 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00691/0.3397, allocations: 6.767 MB / 0.5747 GB, free: 1.059 MB / 414.1 MB 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.01264/0.3524, allocations: 9.493 MB / 0.584 GB, free: 7.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002504/0.3549, allocations: 1.74 MB / 0.5857 GB, free: 5.676 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/0.3566, allocations: 1.348 MB / 0.587 GB, free: 4.324 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/0.3582, allocations: 0.6376 MB / 0.5876 GB, free: 3.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.3582, allocations: 38.56 kB / 0.5876 GB, free: 3.641 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 1.743e-06/0.3582, allocations: 11.88 kB / 0.5876 GB, free: 3.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05138/0.4096, allocations: 15.27 MB / 0.6026 GB, free: 4.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06796/0.4776, allocations: 22.28 MB / 0.6243 GB, free: 13.73 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.479, allocations: 1.066 MB / 0.6254 GB, free: 12.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002267/0.4793, allocations: 37.7 kB / 0.6254 GB, free: 12.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.4797, allocations: 0.5122 MB / 0.6259 GB, free: 12.08 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003396/0.48, allocations: 253.8 kB / 0.6261 GB, free: 11.83 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006725/0.4807, allocations: 266.5 kB / 0.6264 GB, free: 11.57 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.4808, allocations: 330 kB / 0.6267 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/0.4841, allocations: 2.426 MB / 0.6291 GB, free: 8.809 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003353/0.4874, allocations: 2.561 MB / 0.6316 GB, free: 6.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00496/0.4924, allocations: 3.345 MB / 0.6348 GB, free: 2.805 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.4924, allocations: 8 kB / 0.6348 GB, free: 2.797 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01624/0.5086, allocations: 6.8 MB / 0.6415 GB, free: 11.98 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.5086, allocations: 8 kB / 0.6415 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5087, allocations: 3.938 kB / 0.6415 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/0.522, allocations: 3.456 MB / 0.6449 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002059/0.524, allocations: 315.6 kB / 0.6452 GB, free: 8.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02139/0.5454, allocations: 13.49 MB / 0.6583 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.547, allocations: 87.92 kB / 0.6584 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003461/0.5474, allocations: 175.9 kB / 0.6586 GB, free: 10.26 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (70): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007731/0.5481, allocations: 330.3 kB / 0.6589 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.5485, allocations: 103.3 kB / 0.659 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.5616, allocations: 4.452 MB / 0.6634 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01146/0.5731, allocations: 3.665 MB / 0.6669 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.5731, allocations: 4 kB / 0.6669 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.5731, allocations: 3.984 kB / 0.6669 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01672/0.5898, allocations: 7.364 MB / 0.6741 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.5898, allocations: 4 kB / 0.6741 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/0.5913, allocations: 167.8 kB / 0.6743 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02712/0.6184, allocations: 3.716 MB / 0.6779 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.6186, allocations: 44.14 kB / 0.678 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01332/0.6319, allocations: 6.468 MB / 0.6843 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05502/0.687, allocations: 14.59 MB / 0.6985 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.7009, allocations: 5.713 MB / 0.7041 GB, free: 10.95 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000327/0.7013, allocations: 135.3 kB / 0.7042 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002804/0.7016, allocations: 19.98 kB / 0.7043 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/0.7029, allocations: 63.86 kB / 0.7043 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.7032, allocations: 100.3 kB / 0.7044 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001807/0.7034, allocations: 75.95 kB / 0.7045 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001457/0.7049, allocations: 1.02 MB / 0.7055 GB, free: 9.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.7049, allocations: 0 / 0.7055 GB, free: 9.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001844/0.7067, allocations: 0.5739 MB / 0.706 GB, free: 8.953 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00077/0.7075, allocations: 354.7 kB / 0.7064 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006489/0.714, allocations: 3.677 MB / 0.71 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.714, allocations: 0 / 0.71 GB, free: 4.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.7174, allocations: 1.457 MB / 0.7114 GB, free: 3.426 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.7186, allocations: 256.6 kB / 0.7116 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005166/0.7238, allocations: 3.087 MB / 0.7147 GB, free: 12 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009207/0.7247, allocations: 1.127 MB / 0.7158 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001097/0.7258, allocations: 307.4 kB / 0.7161 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006823/0.7265, allocations: 115.3 kB / 0.7162 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.7265, allocations: 0 / 0.7162 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of Templates: time 0.2523/0.9788, allocations: 51.54 MB / 0.7665 GB, free: 171.1 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4876191220246255] Failed to read output from testmodel.py, exit status != 0: 0.9870071199256927 0.995094121 0.668478307 Calling exit ...