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.001578/0.001578, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001709/0.001709, allocations: 158.8 kB / 22.45 MB, free: 5.375 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.497/1.497, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.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.1394/0.1394, allocations: 17.45 MB / 276.6 MB, free: 15.21 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 412.1 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.134e-05/3.289e-05, allocations: 6.281 kB / 412.1 MB, free: 4.301 MB / 334.1 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.03671/0.03674, allocations: 26.35 MB / 438.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01303/0.04977, allocations: 8.185 MB / 446.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008237/0.0506, allocations: 31.75 kB / 446.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.05328, allocations: 0.7768 MB / 447.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.0552, allocations: 0.7331 MB / 448.2 MB, free: 312 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1961/0.2513, allocations: 0.9343 MB / 449.1 MB, free: 32.01 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002179/0.2534, allocations: 1.255 MB / 450.3 MB, free: 31.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003203/0.2538, allocations: 162.3 kB / 450.5 MB, free: 31.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.2546, allocations: 0.591 MB / 451.1 MB, free: 31.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008063/0.2554, allocations: 460.9 kB / 451.5 MB, free: 31.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.2555, allocations: 84.38 kB / 451.6 MB, free: 31.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.2587, allocations: 1.194 MB / 452.8 MB, free: 31.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002578/0.2589, allocations: 282.2 kB / 453.1 MB, free: 31.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.2594, allocations: 342.5 kB / 453.4 MB, free: 31.47 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.2635, allocations: 2.371 MB / 455.8 MB, free: 31.27 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2635, allocations: 0 / 455.8 MB, free: 31.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2635, allocations: 0 / 455.8 MB, free: 31.27 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.2635, allocations: 0 / 455.8 MB, free: 31.27 MB / 366.1 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.002383/0.2659, allocations: 1.419 MB / 457.2 MB, free: 30.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.266, allocations: 11.97 kB / 457.2 MB, free: 30.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.2664, allocations: 216.4 kB / 457.4 MB, free: 30.28 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009235/0.2674, allocations: 0.6842 MB / 458.1 MB, free: 29.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.2675, allocations: 129.8 kB / 458.3 MB, free: 29.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.2676, allocations: 87.31 kB / 458.3 MB, free: 29.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003358/0.271, allocations: 3.218 MB / 461.6 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.271, allocations: 1.656 kB / 461.6 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.271, allocations: 39.83 kB / 461.6 MB, free: 28.3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/0.2712, allocations: 135.7 kB / 461.7 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005229/0.2764, allocations: 6.233 MB / 468 MB, free: 25.99 MB / 366.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.005882/0.2823, allocations: 4.672 MB / 472.6 MB, free: 23.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.283, allocations: 409.7 kB / 473 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.2833, allocations: 254.6 kB / 473.3 MB, free: 23.42 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003362/0.2867, allocations: 2.159 MB / 475.4 MB, free: 21.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.2867, allocations: 34.03 kB / 475.5 MB, free: 21.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=33): time 2.395e-06/0.2867, allocations: 0 / 475.5 MB, free: 21.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.01528/0.302, allocations: 3.768 MB / 479.2 MB, free: 18.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.302, allocations: 59.34 kB / 479.3 MB, free: 18.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007515/0.3028, allocations: 0.7268 MB / 480 MB, free: 17.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.183e-05/0.3028, allocations: 29.7 kB / 480.1 MB, free: 17.51 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.3031, allocations: 0.6398 MB / 480.7 MB, free: 16.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3032, allocations: 178.1 kB / 480.9 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.3035, allocations: 229.1 kB / 481.1 MB, free: 16.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.3036, allocations: 386.8 kB / 481.5 MB, free: 16.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.304, allocations: 293.9 kB / 481.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.3045, allocations: 0.6596 MB / 482.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3055, allocations: 1.028 MB / 483.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.738e-06/0.3055, allocations: 4 kB / 483.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004938/0.3105, allocations: 1.52 MB / 485 MB, free: 12.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3105, allocations: 10.81 kB / 485 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.3105, allocations: 24.77 kB / 485 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004644/0.3152, allocations: 0.6449 MB / 485.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/0.3166, allocations: 360.9 kB / 486 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002845/0.3195, allocations: 2.826 MB / 488.8 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007984/0.3203, allocations: 38.69 kB / 488.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/0.3204, allocations: 136 kB / 489 MB, free: 8.289 MB / 366.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 (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.0005393/0.3209, allocations: 352.2 kB / 489.3 MB, free: 7.949 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.3211, allocations: 83.48 kB / 489.4 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004912/0.326, allocations: 1.443 MB / 490.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.326, allocations: 4 kB / 490.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.326, allocations: 0 / 490.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-06/0.326, allocations: 7.984 kB / 490.9 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3271, allocations: 0.8344 MB / 491.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3271, allocations: 0 / 491.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/0.3283, allocations: 254.2 kB / 492 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004293/0.3326, allocations: 0.5511 MB / 492.5 MB, free: 4.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.294e-05/0.3327, allocations: 27.98 kB / 492.5 MB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005113/0.3378, allocations: 4.121 MB / 496.7 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3378, allocations: 7.375 kB / 496.7 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00499/0.3428, allocations: 1.516 MB / 498.2 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.343, allocations: 78.09 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.3431, allocations: 15.98 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.3435, allocations: 20 kB / 498.3 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.3437, allocations: 60.34 kB / 498.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.762e-05/0.3438, allocations: 55.36 kB / 498.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007255/0.3445, allocations: 0.4912 MB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3445, allocations: 6.594 kB / 498.9 MB, free: 14.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001378/0.3459, allocations: 307.6 kB / 499.2 MB, free: 13.99 MB / 382.1 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.0008138/0.3467, allocations: 373.3 kB / 499.6 MB, free: 13.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.3494, allocations: 0.9673 MB / 0.4888 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3494, allocations: 0 / 0.4888 GB, free: 12.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.3508, allocations: 0.6344 MB / 0.4894 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.3518, allocations: 197.4 kB / 0.4896 GB, free: 11.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.3554, allocations: 2.129 MB / 0.4917 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000609/0.356, allocations: 0.5199 MB / 0.4922 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009554/0.3569, allocations: 343.9 kB / 0.4925 GB, free: 9.094 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.3573, allocations: 140.7 kB / 0.4927 GB, free: 8.98 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3573, allocations: 0 / 0.4927 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03509/0.3924, allocations: 20 MB / 0.5122 GB, free: 5.766 MB / 398.1 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: 5.817068375647068] Failed to read output from testmodel.py, exit status != 0: 0.4018782041966915 0.416155309 0.14950722200000002 Calling exit ...