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.001612/0.001612, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00154/0.00154, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1536/0.1536, allocations: 23.89 MB / 337.1 MB, free: 11.17 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.001958/0.001958, allocations: 75.89 kB / 472.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.4, allocations: 59.86 MB / 0.5199 GB, free: 9.855 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.0479/0.4479, allocations: 26.39 MB / 0.5456 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.4628, allocations: 8.42 MB / 0.5539 GB, free: 5.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.4644, allocations: 23.81 kB / 0.5539 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.4673, allocations: 0.7451 MB / 0.5546 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002558/0.4698, allocations: 0.5743 MB / 0.5552 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.4729, allocations: 0.7419 MB / 0.5559 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00251/0.4755, allocations: 1.126 MB / 0.557 GB, free: 2.926 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.4758, allocations: 168.6 kB / 0.5571 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005652/0.4764, allocations: 385.7 kB / 0.5575 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009164/0.4773, allocations: 0.5091 MB / 0.558 GB, free: 1.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.4774, allocations: 80 kB / 0.5581 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004203/0.4816, allocations: 1.476 MB / 0.5595 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003055/0.4819, allocations: 247.2 kB / 0.5598 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005949/0.4825, allocations: 0.5229 MB / 0.5603 GB, free: 48 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004929/0.4875, allocations: 2.393 MB / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4875, allocations: 0 / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4875, allocations: 0 / 0.5626 GB, free: 14.27 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.832e-05/0.4875, allocations: 0 / 0.5626 GB, free: 14.27 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.002815/0.4903, allocations: 1.376 MB / 0.564 GB, free: 12.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4903, allocations: 8.031 kB / 0.564 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005431/0.4909, allocations: 196 kB / 0.5642 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.4918, allocations: 0.4897 MB / 0.5646 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.492, allocations: 126 kB / 0.5648 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/0.4921, allocations: 92.36 kB / 0.5648 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/0.496, allocations: 3.085 MB / 0.5679 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.277e-05/0.496, allocations: 0 / 0.5679 GB, free: 8.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-05/0.496, allocations: 36 kB / 0.5679 GB, free: 8.785 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/0.4962, allocations: 126 kB / 0.568 GB, free: 8.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006461/0.5027, allocations: 5.877 MB / 0.5737 GB, free: 2.773 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.008473/0.5111, allocations: 5.119 MB / 0.5787 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008659/0.512, allocations: 406.7 kB / 0.5791 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.5124, allocations: 232.8 kB / 0.5794 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004015/0.5164, allocations: 2.09 MB / 0.5814 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.689e-05/0.5165, allocations: 34.56 kB / 0.5814 GB, free: 10.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.5165, allocations: 0 / 0.5814 GB, free: 10.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01715/0.5336, allocations: 3.873 MB / 0.5852 GB, free: 6.738 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.5337, allocations: 55.41 kB / 0.5853 GB, free: 6.672 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.5348, allocations: 0.6997 MB / 0.5859 GB, free: 5.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.5348, allocations: 41.7 kB / 0.586 GB, free: 5.918 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.5353, allocations: 0.6395 MB / 0.5866 GB, free: 5.27 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.5355, allocations: 162.6 kB / 0.5868 GB, free: 5.109 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003252/0.5358, allocations: 222.5 kB / 0.587 GB, free: 4.887 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.5361, allocations: 386.7 kB / 0.5873 GB, free: 4.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004788/0.5365, allocations: 289.9 kB / 0.5876 GB, free: 4.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.5374, allocations: 0.6457 MB / 0.5883 GB, free: 3.395 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.5388, allocations: 1.007 MB / 0.5892 GB, free: 2.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.5388, allocations: 4 kB / 0.5892 GB, free: 2.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005367/0.5441, allocations: 1.485 MB / 0.5907 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.5442, allocations: 12.94 kB / 0.5907 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/0.5442, allocations: 12 kB / 0.5907 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004805/0.549, allocations: 0.6501 MB / 0.5914 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.5501, allocations: 251.6 kB / 0.5916 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004173/0.5543, allocations: 2.877 MB / 0.5944 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007982/0.5551, allocations: 28 kB / 0.5944 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.5552, allocations: 128 kB / 0.5946 GB, free: 12.58 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.000764/0.556, allocations: 357.3 kB / 0.5949 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.5562, allocations: 75.48 kB / 0.595 GB, free: 12.15 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/0.5621, allocations: 1.444 MB / 0.5964 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5621, allocations: 8 kB / 0.5964 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.5621, allocations: 0 / 0.5964 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.5621, allocations: 3.984 kB / 0.5964 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.5639, allocations: 1.076 MB / 0.5974 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5639, allocations: 0 / 0.5974 GB, free: 9.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.5646, allocations: 135.8 kB / 0.5976 GB, free: 9.387 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00542/0.5701, allocations: 0.6511 MB / 0.5982 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.5702, allocations: 31.98 kB / 0.5982 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008871/0.579, allocations: 5.693 MB / 0.6038 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.579, allocations: 3.938 kB / 0.6038 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/0.5848, allocations: 1.505 MB / 0.6053 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00027/0.5851, allocations: 71.44 kB / 0.6053 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.5852, allocations: 27.86 kB / 0.6054 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.5856, allocations: 8 kB / 0.6054 GB, free: 0.9609 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.5858, allocations: 68.33 kB / 0.6054 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.915e-05/0.5859, allocations: 43.98 kB / 0.6055 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008189/0.5867, allocations: 0.4912 MB / 0.606 GB, free: 368 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5867, allocations: 4 kB / 0.606 GB, free: 364 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001396/0.5881, allocations: 287.7 kB / 0.6062 GB, free: 76 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.0007988/0.5889, allocations: 354.2 kB / 0.6066 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.5913, allocations: 0.9129 MB / 0.6075 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5913, allocations: 4 kB / 0.6075 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00157/0.5929, allocations: 0.7291 MB / 0.6082 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009956/0.5939, allocations: 183.2 kB / 0.6084 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004234/0.5981, allocations: 2.243 MB / 0.6105 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009496/0.5991, allocations: 1.11 MB / 0.6116 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004543/0.5995, allocations: 139.3 kB / 0.6118 GB, free: 10.26 MB / 462.1 MB Notification: Performance of SimCode: time 1.523e-06/0.5995, allocations: 0 / 0.6118 GB, free: 10.26 MB / 462.1 MB Notification: Performance of Templates: time 0.04428/0.6438, allocations: 32.58 MB / 0.6436 GB, free: 9.688 MB / 494.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: 10.921145310014253] Failed to read output from testmodel.py, exit status != 0: 0.6536486940167379 0.6685203559999999 0.17791800900000002 Calling exit ...