Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001791/0.001791, allocations: 114.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.002242/0.002242, allocations: 214.8 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.745/1.745, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1607/0.1607, allocations: 23.9 MB / 336.3 MB, free: 11.19 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002154/0.002154, allocations: 64.17 kB / 471.7 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4261, allocations: 59.87 MB / 0.5191 GB, free: 9.832 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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 master/Boundaries.mo:1350:7-1350: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.04765/0.4738, allocations: 26.34 MB / 0.5448 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0151/0.4889, allocations: 8.416 MB / 0.5531 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.4904, allocations: 23.88 kB / 0.5531 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.4932, allocations: 0.7497 MB / 0.5538 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.4957, allocations: 0.584 MB / 0.5544 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002842/0.4985, allocations: 0.7354 MB / 0.5551 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.501, allocations: 1.125 MB / 0.5562 GB, free: 3.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004005/0.5014, allocations: 160.2 kB / 0.5564 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007673/0.5022, allocations: 389.7 kB / 0.5567 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.5033, allocations: 0.5175 MB / 0.5572 GB, free: 2.078 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001194/0.5034, allocations: 76 kB / 0.5573 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004518/0.5079, allocations: 1.48 MB / 0.5588 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003534/0.5082, allocations: 247.3 kB / 0.559 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009681/0.5092, allocations: 0.5231 MB / 0.5595 GB, free: 132 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.5155, allocations: 2.385 MB / 0.5618 GB, free: 14.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.5155, allocations: 4 kB / 0.5618 GB, free: 14.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.5155, allocations: 0 / 0.5618 GB, free: 14.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.187e-05/0.5156, allocations: 3.938 kB / 0.5618 GB, free: 14.35 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.00365/0.5193, allocations: 1.376 MB / 0.5632 GB, free: 12.94 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.5193, allocations: 12.03 kB / 0.5632 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006779/0.52, allocations: 192 kB / 0.5634 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.5211, allocations: 0.4897 MB / 0.5638 GB, free: 12.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.5212, allocations: 126 kB / 0.564 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.5214, allocations: 88.36 kB / 0.5641 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.5254, allocations: 3.081 MB / 0.5671 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.428e-05/0.5254, allocations: 4 kB / 0.5671 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.5255, allocations: 32 kB / 0.5671 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.5257, allocations: 130 kB / 0.5672 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007134/0.5328, allocations: 5.873 MB / 0.573 GB, free: 2.855 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.009346/0.5422, allocations: 5.119 MB / 0.578 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008998/0.5431, allocations: 406.7 kB / 0.5783 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000399/0.5435, allocations: 236.8 kB / 0.5786 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00434/0.5478, allocations: 2.086 MB / 0.5806 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.5479, allocations: 38.5 kB / 0.5806 GB, free: 10.81 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.683e-06/0.5479, allocations: 0 / 0.5806 GB, free: 10.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01872/0.5666, allocations: 3.869 MB / 0.5844 GB, free: 6.82 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.5666, allocations: 59.41 kB / 0.5845 GB, free: 6.75 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.5679, allocations: 0.6997 MB / 0.5852 GB, free: 6.043 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/0.568, allocations: 41.7 kB / 0.5852 GB, free: 5.996 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.5686, allocations: 0.6278 MB / 0.5858 GB, free: 5.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.5687, allocations: 166.7 kB / 0.586 GB, free: 5.195 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.5691, allocations: 218.5 kB / 0.5862 GB, free: 4.977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.5694, allocations: 390.7 kB / 0.5866 GB, free: 4.586 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/0.5699, allocations: 293.8 kB / 0.5868 GB, free: 4.297 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008825/0.5708, allocations: 0.6457 MB / 0.5875 GB, free: 3.477 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001582/0.5724, allocations: 1.003 MB / 0.5884 GB, free: 2.297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.732e-05/0.5724, allocations: 4 kB / 0.5884 GB, free: 2.293 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005776/0.5782, allocations: 1.485 MB / 0.5899 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.5782, allocations: 12.97 kB / 0.5899 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.5782, allocations: 12 kB / 0.5899 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005122/0.5834, allocations: 0.6501 MB / 0.5906 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001201/0.5846, allocations: 259.5 kB / 0.5908 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004296/0.5889, allocations: 2.872 MB / 0.5936 GB, free: 12.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.5897, allocations: 28 kB / 0.5936 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001867/0.5898, allocations: 128 kB / 0.5938 GB, free: 12.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007814/0.5906, allocations: 345.4 kB / 0.5941 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002146/0.5908, allocations: 83.42 kB / 0.5942 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006141/0.597, allocations: 1.444 MB / 0.5956 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.597, allocations: 4 kB / 0.5956 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.597, allocations: 4 kB / 0.5956 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.597, allocations: 3.984 kB / 0.5956 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/0.5989, allocations: 1.072 MB / 0.5966 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.5989, allocations: 7.938 kB / 0.5966 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008146/0.5997, allocations: 139.8 kB / 0.5968 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/0.6053, allocations: 0.6434 MB / 0.5974 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001056/0.6054, allocations: 31.98 kB / 0.5974 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009293/0.6147, allocations: 5.681 MB / 0.603 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.6147, allocations: 4 kB / 0.603 GB, free: 2.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.6206, allocations: 1.513 MB / 0.6045 GB, free: 1.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.6209, allocations: 75.42 kB / 0.6045 GB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.621, allocations: 23.88 kB / 0.6046 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004179/0.6214, allocations: 8 kB / 0.6046 GB, free: 1.047 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.6216, allocations: 68.33 kB / 0.6046 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.6217, allocations: 44.17 kB / 0.6047 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007913/0.6225, allocations: 0.4912 MB / 0.6052 GB, free: 456 kB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6225, allocations: 0 / 0.6052 GB, free: 456 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001408/0.6239, allocations: 291.7 kB / 0.6054 GB, free: 164 kB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.substance.amountOfBonds,liquidWater.logm) * 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 (43): * 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: 4 * 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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,2), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007059/0.6246, allocations: 354.1 kB / 0.6058 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.6271, allocations: 0.909 MB / 0.6067 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6271, allocations: 4 kB / 0.6067 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/0.6287, allocations: 0.733 MB / 0.6074 GB, free: 14.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.6298, allocations: 192.1 kB / 0.6076 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/0.6343, allocations: 2.177 MB / 0.6097 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009847/0.6353, allocations: 1.098 MB / 0.6108 GB, free: 10.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.6363, allocations: 305.7 kB / 0.6111 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/0.6367, allocations: 127.4 kB / 0.6112 GB, free: 10.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6367, allocations: 0 / 0.6112 GB, free: 10.14 MB / 462.1 MB Notification: Performance of Templates: time 0.04302/0.6797, allocations: 21.2 MB / 0.6319 GB, free: 4.973 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.626725473906845] Failed to read output from testmodel.py, exit status != 0: 0.6901988959871233 0.706572788 0.18739586799999994 Calling exit ...