Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0009013/0.0009013, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.0009338/0.0009338, allocations: 169 kB / 24.06 MB, free: 448 kB / 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 1.06/1.06, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.103/0.103, allocations: 17.38 MB / 278.4 MB, free: 11.5 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 354.7 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.365e-05/2.494e-05, allocations: 6.312 kB / 354.7 MB, free: 10.76 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Boundaries.mo:1343:7-1343: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 2.0.0/Boundaries.mo:1343:7-1343: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.02789/0.02791, allocations: 29.15 MB / 383.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007976/0.03589, allocations: 7.959 MB / 391.8 MB, free: 5.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000793/0.03668, allocations: 11.94 kB / 391.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.03849, allocations: 0.7302 MB / 392.5 MB, free: 4.969 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.03985, allocations: 0.57 MB / 393.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.04152, allocations: 0.7536 MB / 393.8 MB, free: 3.637 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.0428, allocations: 1.18 MB / 395 MB, free: 2.457 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.04303, allocations: 160.9 kB / 395.2 MB, free: 2.289 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000422/0.04346, allocations: 0.5495 MB / 395.7 MB, free: 1.738 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.04378, allocations: 319 kB / 396 MB, free: 1.426 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.04385, allocations: 84 kB / 396.1 MB, free: 1.344 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.0459, allocations: 0.9631 MB / 397.1 MB, free: 388 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.04608, allocations: 271 kB / 397.3 MB, free: 116 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.04634, allocations: 331 kB / 397.7 MB, free: 15.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002562/0.0489, allocations: 1.978 MB / 399.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.04891, allocations: 0 / 399.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.04891, allocations: 0 / 399.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.49e-05/0.04894, allocations: 0 / 399.6 MB, free: 13.8 MB / 378.7 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.002138/0.05107, allocations: 1.573 MB / 401.2 MB, free: 12.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.05112, allocations: 8.031 kB / 401.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006013/0.05172, allocations: 471.8 kB / 401.7 MB, free: 11.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005533/0.05227, allocations: 0.5191 MB / 402.2 MB, free: 11.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.05241, allocations: 169.9 kB / 402.4 MB, free: 11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.474e-05/0.0525, allocations: 84.38 kB / 402.4 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009099/0.05341, allocations: 0.9774 MB / 403.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.05342, allocations: 192 / 403.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.05347, allocations: 44.11 kB / 403.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001069/0.05358, allocations: 146 kB / 403.6 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.05469, allocations: 1.389 MB / 405 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005325/0.06002, allocations: 4.943 MB / 409.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006752/0.06069, allocations: 319.1 kB / 410.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.06098, allocations: 155.6 kB / 410.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009196/0.0619, allocations: 0.622 MB / 411 MB, free: 2.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.06193, allocations: 45.39 kB / 411.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 4.118e-06/0.06194, allocations: 0 / 411.1 MB, free: 2.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=68): time 0.02097/0.0829, allocations: 5.431 MB / 416.5 MB, free: 12.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02967/0.1126, allocations: 9.831 MB / 426.3 MB, free: 2.543 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.1131, allocations: 0.632 MB / 427 MB, free: 1.898 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.1134, allocations: 37.7 kB / 427 MB, free: 1.855 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1137, allocations: 0.6199 MB / 427.6 MB, free: 1.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.114, allocations: 237.9 kB / 427.9 MB, free: 0.9922 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000448/0.1144, allocations: 260.1 kB / 428.1 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.1146, allocations: 0.5897 MB / 428.7 MB, free: 128 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007317/0.1153, allocations: 405.8 kB / 429.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008065/0.1161, allocations: 0.5872 MB / 429.7 MB, free: 15.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1176, allocations: 1.004 MB / 430.7 MB, free: 14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1176, allocations: 4 kB / 430.7 MB, free: 14 MB / 410.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006199/0.1238, allocations: 1.83 MB / 432.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.1238, allocations: 8 kB / 432.5 MB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1238, allocations: 4 kB / 432.5 MB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007343/0.1312, allocations: 2.774 MB / 435.3 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.1324, allocations: 303.6 kB / 435.6 MB, free: 9.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00801/0.1404, allocations: 5.354 MB / 441 MB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.1415, allocations: 31.97 kB / 441 MB, free: 3.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002193/0.1417, allocations: 171.9 kB / 441.2 MB, free: 3.305 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 65 * Array equations: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,8), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005157/0.1422, allocations: 200.4 kB / 441.4 MB, free: 3.098 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/0.1426, allocations: 99.47 kB / 441.5 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005246/0.1478, allocations: 1.959 MB / 443.4 MB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2052/0.353, allocations: 1.254 MB / 444.7 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.353, allocations: 0 / 444.7 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-05/0.3531, allocations: 3.375 kB / 444.7 MB, free: 107.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007277/0.3604, allocations: 3.905 MB / 448.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.3604, allocations: 3.344 kB / 448.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007658/0.3611, allocations: 158.1 kB / 448.7 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01323/0.3744, allocations: 2.566 MB / 451.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.3745, allocations: 42.48 kB / 451.3 MB, free: 106.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005045/0.3796, allocations: 3.659 MB / 455 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02718/0.4067, allocations: 8.679 MB / 463.7 MB, free: 100.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006311/0.4131, allocations: 1.898 MB / 465.6 MB, free: 99.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.4133, allocations: 77.39 kB / 465.7 MB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.4135, allocations: 14.34 kB / 465.7 MB, free: 99.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.4142, allocations: 27.39 kB / 465.7 MB, free: 99.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003135/0.4145, allocations: 88.91 kB / 465.8 MB, free: 99.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001448/0.4147, allocations: 73.78 kB / 465.8 MB, free: 99.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003768/0.415, allocations: 465.9 kB / 466.3 MB, free: 99.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.415, allocations: 0 / 466.3 MB, free: 99.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001803/0.4168, allocations: 0.5705 MB / 466.9 MB, free: 99.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 ($STATESET1.x[2],$STATESET1.x[1]) * Number of discrete variables: 1 ($cse15) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006623/0.4175, allocations: 392.8 kB / 467.3 MB, free: 99.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002671/0.4202, allocations: 1.202 MB / 468.5 MB, free: 98.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4202, allocations: 5.594 kB / 468.5 MB, free: 98.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001599/0.4218, allocations: 0.7435 MB / 469.2 MB, free: 98.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000975/0.4228, allocations: 248.2 kB / 469.5 MB, free: 98.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004402/0.4272, allocations: 2.479 MB / 471.9 MB, free: 97.21 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4275, allocations: 248.8 kB / 472.2 MB, free: 97.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001111/0.4286, allocations: 208.7 kB / 472.4 MB, free: 97.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009247/0.4295, allocations: 293 kB / 472.7 MB, free: 97.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.4295, allocations: 0 / 472.7 MB, free: 97.02 MB / 410.7 MB Notification: Performance of Templates: time 0.05897/0.4885, allocations: 57.84 MB / 0.5181 GB, free: 58.07 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.856983903329819]