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.001316/0.001316, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001479/0.001479, allocations: 206.9 kB / 22.99 MB, free: 4.957 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.429/1.429, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1698/0.1698, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.00207/0.00207, allocations: 75.89 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4189, allocations: 59.88 MB / 0.5198 GB, free: 9.742 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.08203/0.501, allocations: 25.66 MB / 0.5449 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01311/0.5141, allocations: 7.253 MB / 0.552 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.5156, allocations: 19.88 kB / 0.552 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.5185, allocations: 0.6713 MB / 0.5526 GB, free: 6.738 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002171/0.5206, allocations: 0.5863 MB / 0.5532 GB, free: 6.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002565/0.5232, allocations: 0.7379 MB / 0.5539 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.5252, allocations: 1.122 MB / 0.555 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.5256, allocations: 165 kB / 0.5552 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.5261, allocations: 385.7 kB / 0.5555 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008276/0.5269, allocations: 0.5209 MB / 0.5561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.527, allocations: 80 kB / 0.5561 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.5297, allocations: 0.9014 MB / 0.557 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.53, allocations: 255.1 kB / 0.5573 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.5304, allocations: 400.4 kB / 0.5576 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004414/0.5349, allocations: 2.214 MB / 0.5598 GB, free: 0.625 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.5349, allocations: 3.938 kB / 0.5598 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.5349, allocations: 4 kB / 0.5598 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.5349, allocations: 1.266 kB / 0.5598 GB, free: 0.6172 MB / 398.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.002928/0.5378, allocations: 1.377 MB / 0.5611 GB, free: 15.36 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5379, allocations: 8.031 kB / 0.5612 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000532/0.5384, allocations: 202.2 kB / 0.5613 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009145/0.5393, allocations: 0.496 MB / 0.5618 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.5395, allocations: 133.9 kB / 0.562 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.5396, allocations: 80.38 kB / 0.562 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00383/0.5434, allocations: 3.081 MB / 0.565 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/0.5435, allocations: 0 / 0.565 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.932e-05/0.5435, allocations: 36 kB / 0.5651 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001738/0.5437, allocations: 133.9 kB / 0.5652 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006622/0.5503, allocations: 5.862 MB / 0.5709 GB, free: 5.344 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.008121/0.5585, allocations: 4.477 MB / 0.5753 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009108/0.5594, allocations: 397.7 kB / 0.5757 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.5598, allocations: 240.8 kB / 0.5759 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004251/0.564, allocations: 2.028 MB / 0.5779 GB, free: 14.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.564, allocations: 34.56 kB / 0.5779 GB, free: 14.08 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.894e-06/0.564, allocations: 0 / 0.5779 GB, free: 14.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01891/0.583, allocations: 3.873 MB / 0.5817 GB, free: 10.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.583, allocations: 55.41 kB / 0.5818 GB, free: 10.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.584, allocations: 0.7229 MB / 0.5825 GB, free: 9.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.625e-05/0.5841, allocations: 33.7 kB / 0.5825 GB, free: 9.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/0.5847, allocations: 0.6395 MB / 0.5831 GB, free: 8.602 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.5848, allocations: 158.7 kB / 0.5833 GB, free: 8.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.5852, allocations: 226.5 kB / 0.5835 GB, free: 8.219 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.5854, allocations: 390.7 kB / 0.5839 GB, free: 7.828 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005188/0.5859, allocations: 285.8 kB / 0.5841 GB, free: 7.547 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.5868, allocations: 0.6456 MB / 0.5848 GB, free: 6.727 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001447/0.5882, allocations: 1.011 MB / 0.5858 GB, free: 5.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.5882, allocations: 4 kB / 0.5858 GB, free: 5.535 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00584/0.5941, allocations: 1.49 MB / 0.5872 GB, free: 4.027 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.5941, allocations: 15.94 kB / 0.5872 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.5941, allocations: 12 kB / 0.5872 GB, free: 4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005356/0.5995, allocations: 0.6425 MB / 0.5879 GB, free: 3.348 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6005, allocations: 263.5 kB / 0.5881 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004105/0.6046, allocations: 2.833 MB / 0.5909 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.6054, allocations: 28 kB / 0.5909 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/0.6056, allocations: 128 kB / 0.591 GB, free: 15.95 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.0006477/0.6062, allocations: 353.4 kB / 0.5914 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.6064, allocations: 75.48 kB / 0.5914 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/0.6129, allocations: 1.448 MB / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.6129, allocations: 4 kB / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6129, allocations: 0 / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.613, allocations: 0 / 0.5929 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.6144, allocations: 0.8389 MB / 0.5937 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.6144, allocations: 4 kB / 0.5937 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008241/0.6152, allocations: 140.1 kB / 0.5938 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00619/0.6214, allocations: 0.6431 MB / 0.5944 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.931e-05/0.6215, allocations: 31.92 kB / 0.5945 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009011/0.6305, allocations: 5.57 MB / 0.5999 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6305, allocations: 4.047 kB / 0.5999 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/0.6366, allocations: 1.509 MB / 0.6014 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002371/0.6368, allocations: 75.45 kB / 0.6015 GB, free: 4.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.6369, allocations: 15.94 kB / 0.6015 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.6374, allocations: 16 kB / 0.6015 GB, free: 4.746 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6375, allocations: 68.2 kB / 0.6016 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-05/0.6376, allocations: 48.05 kB / 0.6016 GB, free: 4.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.6384, allocations: 499 kB / 0.6021 GB, free: 4.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.6384, allocations: 0 / 0.6021 GB, free: 4.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001287/0.6396, allocations: 287.7 kB / 0.6024 GB, free: 3.863 MB / 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.0006887/0.6403, allocations: 351.2 kB / 0.6027 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.6427, allocations: 0.9168 MB / 0.6036 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6427, allocations: 0 / 0.6036 GB, free: 2.582 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001577/0.6442, allocations: 0.733 MB / 0.6043 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009502/0.6452, allocations: 179.1 kB / 0.6045 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.6489, allocations: 2.178 MB / 0.6066 GB, free: 15.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.6496, allocations: 0.5023 MB / 0.6071 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008985/0.6505, allocations: 305.7 kB / 0.6074 GB, free: 14.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.6508, allocations: 123.4 kB / 0.6075 GB, free: 14.44 MB / 462.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6508, allocations: 3.938 kB / 0.6075 GB, free: 14.43 MB / 462.1 MB Notification: Performance of Templates: time 0.03498/0.6858, allocations: 21.5 MB / 0.6285 GB, free: 9.102 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 -s cvode -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.057481789001031] Failed to read output from testmodel.py, exit status != 0: 0.6949609250004869 0.708503494 0.17057062099999995 Calling exit ...