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.0008614/0.0008614, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008313/0.0008313, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8527/0.8527, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.08467/0.08467, allocations: 17.44 MB / 277.4 MB, free: 11.75 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 412.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.462e-05, allocations: 2.281 kB / 412.8 MB, free: 12.44 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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:1361:7-1361: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.01786/0.01788, allocations: 26.31 MB / 439.1 MB, free: 13.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.007659/0.02554, allocations: 8.185 MB / 447.3 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004471/0.02599, allocations: 31.69 kB / 447.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.02755, allocations: 0.7819 MB / 448.1 MB, free: 5.391 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.02862, allocations: 0.7232 MB / 448.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.03007, allocations: 0.954 MB / 449.8 MB, free: 4.031 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00099/0.03106, allocations: 1.258 MB / 451.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.03126, allocations: 162.2 kB / 451.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004029/0.03167, allocations: 0.6001 MB / 451.8 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004473/0.03211, allocations: 455 kB / 452.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.03219, allocations: 84 kB / 452.4 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00138/0.03357, allocations: 1.187 MB / 453.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.03373, allocations: 282.9 kB / 453.8 MB, free: 476 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.03393, allocations: 347 kB / 454.2 MB, free: 128 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001754/0.03568, allocations: 2.368 MB / 456.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.03569, allocations: 0 / 456.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.03569, allocations: 0 / 456.5 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.0357, allocations: 8 kB / 456.5 MB, free: 13.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.00129/0.03699, allocations: 1.415 MB / 458 MB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.03702, allocations: 8.031 kB / 458 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002872/0.0373, allocations: 216 kB / 458.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.03794, allocations: 0.6763 MB / 458.9 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.03804, allocations: 137.9 kB / 459 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.03812, allocations: 88.38 kB / 459.1 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.04015, allocations: 3.215 MB / 462.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.04017, allocations: 192 / 462.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.04022, allocations: 44.11 kB / 462.3 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.477e-05/0.04031, allocations: 130.1 kB / 462.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.04401, allocations: 6.233 MB / 468.7 MB, free: 1.488 MB / 362.7 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.003996/0.04801, allocations: 4.677 MB / 473.4 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.0485, allocations: 419 kB / 473.8 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.04873, allocations: 256.8 kB / 474 MB, free: 12.08 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002285/0.05102, allocations: 2.149 MB / 476.2 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.05104, allocations: 30.84 kB / 476.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 1.192e-06/0.05104, allocations: 0 / 476.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.007864/0.0589, allocations: 3.773 MB / 480 MB, free: 5.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.05894, allocations: 67.34 kB / 480 MB, free: 5.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.05945, allocations: 0.7268 MB / 480.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.05948, allocations: 29.7 kB / 480.8 MB, free: 5.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.05975, allocations: 0.6473 MB / 481.4 MB, free: 4.484 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.74e-05/0.05985, allocations: 166.6 kB / 481.6 MB, free: 4.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.06005, allocations: 226.5 kB / 481.8 MB, free: 4.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.06016, allocations: 390.7 kB / 482.2 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.06048, allocations: 289.9 kB / 482.5 MB, free: 3.418 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004605/0.06094, allocations: 0.6575 MB / 483.2 MB, free: 2.582 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008474/0.06179, allocations: 1.035 MB / 484.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.06179, allocations: 4 kB / 484.2 MB, free: 1.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00252/0.06431, allocations: 1.511 MB / 485.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.06433, allocations: 12 kB / 485.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.06434, allocations: 12 kB / 485.7 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.06662, allocations: 0.6426 MB / 486.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/0.06732, allocations: 367.5 kB / 486.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/0.06935, allocations: 2.826 MB / 489.6 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002913/0.06964, allocations: 36.03 kB / 489.6 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.06974, allocations: 132 kB / 489.7 MB, free: 11.66 MB / 394.7 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 (94): * Single equations (assignments): 91 * 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.0003244/0.07006, allocations: 357.9 kB / 490.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.07017, allocations: 91.48 kB / 490.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.07272, allocations: 1.429 MB / 491.6 MB, free: 9.766 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.07272, allocations: 4 kB / 491.6 MB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.07273, allocations: 7.984 kB / 491.6 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.07273, allocations: 0 / 491.6 MB, free: 9.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006915/0.07343, allocations: 0.8355 MB / 492.4 MB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.07343, allocations: 4 kB / 492.4 MB, free: 8.852 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.07402, allocations: 252 kB / 492.7 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001859/0.07588, allocations: 0.5563 MB / 493.2 MB, free: 8.039 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.612e-05/0.07592, allocations: 35.92 kB / 493.3 MB, free: 8.004 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.07947, allocations: 4.112 MB / 497.4 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.07947, allocations: 0 / 497.4 MB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.08191, allocations: 1.529 MB / 498.9 MB, free: 2.078 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.08197, allocations: 71.44 kB / 499 MB, free: 2.008 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.08203, allocations: 16 kB / 499 MB, free: 1.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.08223, allocations: 19.98 kB / 499 MB, free: 1.973 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.887e-05/0.08231, allocations: 60.34 kB / 499.1 MB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.08236, allocations: 51.98 kB / 499.1 MB, free: 1.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.08272, allocations: 499 kB / 499.6 MB, free: 1.383 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.08272, allocations: 4.062 kB / 499.6 MB, free: 1.379 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006526/0.08337, allocations: 315.6 kB / 499.9 MB, free: 1.07 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,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 (47): * Single equations (assignments): 44 * 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): 1 system {(3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004202/0.08379, allocations: 363 kB / 0.4886 GB, free: 0.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001517/0.08531, allocations: 0.9762 MB / 0.4895 GB, free: 15.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.08531, allocations: 4 kB / 0.4895 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.08599, allocations: 0.6331 MB / 0.4901 GB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.08654, allocations: 201.6 kB / 0.4903 GB, free: 14.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.08892, allocations: 2.206 MB / 0.4925 GB, free: 12.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.08927, allocations: 0.511 MB / 0.493 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/0.08955, allocations: 152.4 kB / 0.4931 GB, free: 11.91 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.08955, allocations: 0 / 0.4931 GB, free: 11.91 MB / 410.7 MB Notification: Performance of Templates: time 0.02215/0.1117, allocations: 32.22 MB / 0.5246 GB, free: 11.68 MB / 442.7 MB " [Timeout remaining time 660] 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.22532107308507] Failed to read output from testmodel.py, exit status != 0: 0.24919478967785835 0.126071511 0.08851579700000001 Calling exit ...