Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.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.001141/0.001141, allocations: 76.5 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.001086/0.001086, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8944/0.8944, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.08601/0.08601, allocations: 17.37 MB / 277.3 MB, free: 11.86 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.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.457e-05, allocations: 2.281 kB / 412.7 MB, free: 15.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.003594/0.003618, allocations: 3.21 MB / 415.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003701/0.007319, allocations: 4.233 MB / 420.1 MB, free: 8.465 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.007607, allocations: 7.938 kB / 420.1 MB, free: 8.457 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.008211, allocations: 111.1 kB / 420.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008235/0.009035, allocations: 468.5 kB / 420.7 MB, free: 7.887 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009085/0.009944, allocations: 0.5436 MB / 421.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005277/0.01047, allocations: 0.6036 MB / 421.9 MB, free: 6.73 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.01077, allocations: 308.8 kB / 422.2 MB, free: 6.426 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.01106, allocations: 403.2 kB / 422.6 MB, free: 6.031 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.01131, allocations: 243.4 kB / 422.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.01137, allocations: 56 kB / 422.8 MB, free: 5.738 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007793/0.01215, allocations: 447.2 kB / 423.3 MB, free: 5.301 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.827e-05/0.01225, allocations: 123.6 kB / 423.4 MB, free: 5.18 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.01238, allocations: 203.5 kB / 423.6 MB, free: 4.98 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.01347, allocations: 1.129 MB / 424.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.01347, allocations: 0 / 424.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01347, allocations: 0 / 424.7 MB, free: 3.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.01348, allocations: 0 / 424.7 MB, free: 3.848 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.0009477/0.01443, allocations: 0.793 MB / 425.5 MB, free: 3.023 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.01447, allocations: 8.031 kB / 425.5 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002539/0.01472, allocations: 96.28 kB / 425.6 MB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004145/0.01514, allocations: 316.3 kB / 425.9 MB, free: 2.586 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.01516, allocations: 33.38 kB / 426 MB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.01522, allocations: 48.38 kB / 426 MB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004851/0.0157, allocations: 458.9 kB / 426.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.01571, allocations: 192 / 426.5 MB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.01575, allocations: 20.38 kB / 426.5 MB, free: 2.035 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/0.01576, allocations: 19.88 kB / 426.5 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.01629, allocations: 0.4997 MB / 427 MB, free: 1.512 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.01791, allocations: 1.136 MB / 428.1 MB, free: 348 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.01835, allocations: 334.6 kB / 428.5 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.01848, allocations: 104.9 kB / 428.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001118/0.0196, allocations: 0.8742 MB / 429.4 MB, free: 15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.01963, allocations: 38.5 kB / 429.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.01963, allocations: 0 / 429.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.00634/0.02597, allocations: 2.114 MB / 431.6 MB, free: 12.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.02601, allocations: 55.41 kB / 431.6 MB, free: 12.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.02624, allocations: 280.1 kB / 431.9 MB, free: 12.45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.02627, allocations: 33.7 kB / 432 MB, free: 12.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.02639, allocations: 284 kB / 432.2 MB, free: 12.12 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.548e-05/0.02646, allocations: 111.1 kB / 432.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.02655, allocations: 86.12 kB / 432.4 MB, free: 11.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.02666, allocations: 342.8 kB / 432.8 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000165/0.02682, allocations: 132.9 kB / 432.9 MB, free: 11.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.02703, allocations: 256.7 kB / 433.1 MB, free: 11.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003946/0.02742, allocations: 432.8 kB / 433.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.02742, allocations: 4 kB / 433.6 MB, free: 10.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001822/0.02925, allocations: 0.8081 MB / 434.4 MB, free: 9.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.02927, allocations: 7.984 kB / 434.4 MB, free: 9.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.02928, allocations: 8 kB / 434.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001742/0.03102, allocations: 405.7 kB / 434.8 MB, free: 9.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.03117, allocations: 79.84 kB / 434.9 MB, free: 9.344 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.03477, allocations: 3.701 MB / 438.6 MB, free: 5.441 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.03494, allocations: 19.94 kB / 438.6 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.03497, allocations: 27.97 kB / 438.6 MB, free: 5.395 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (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,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001826/0.03516, allocations: 169.9 kB / 438.8 MB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.079e-05/0.03521, allocations: 31.81 kB / 438.8 MB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.03735, allocations: 0.8263 MB / 439.6 MB, free: 4.336 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.03736, allocations: 8 kB / 439.6 MB, free: 4.328 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.03736, allocations: 4 kB / 439.6 MB, free: 4.324 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.03737, allocations: 3.984 kB / 439.6 MB, free: 4.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.03783, allocations: 486.2 kB / 440.1 MB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.03784, allocations: 4 kB / 440.1 MB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/0.03793, allocations: 47.98 kB / 440.2 MB, free: 3.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001853/0.03979, allocations: 486.2 kB / 440.6 MB, free: 3.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.03981, allocations: 12 kB / 440.7 MB, free: 3.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.155/0.1948, allocations: 4.878 MB / 445.5 MB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1948, allocations: 6.625 kB / 445.5 MB, free: 68.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002356/0.1972, allocations: 1.112 MB / 446.7 MB, free: 68.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.264e-05/0.1972, allocations: 31.34 kB / 446.7 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.1973, allocations: 13.86 kB / 446.7 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.1974, allocations: 7.188 kB / 446.7 MB, free: 68.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.937e-05/0.1975, allocations: 51.33 kB / 446.8 MB, free: 68.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.1975, allocations: 13.16 kB / 446.8 MB, free: 68.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.1976, allocations: 189.9 kB / 447 MB, free: 68.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1976, allocations: 0.9844 kB / 447 MB, free: 68.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005453/0.1982, allocations: 235.2 kB / 447.2 MB, free: 68.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.amountOfBonds,liquidWater.logn) * 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 (29): * Single equations (assignments): 26 * 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,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003558/0.1985, allocations: 297.3 kB / 447.5 MB, free: 68.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007456/0.1993, allocations: 0.6649 MB / 448.1 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1993, allocations: 4.125 kB / 448.1 MB, free: 67.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.1997, allocations: 0.6028 MB / 448.7 MB, free: 67.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.2001, allocations: 116.6 kB / 448.9 MB, free: 67.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.2011, allocations: 0.9755 MB / 449.8 MB, free: 66.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.2013, allocations: 226.7 kB / 450.1 MB, free: 66.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.2014, allocations: 71.66 kB / 450.1 MB, free: 66.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.2014, allocations: 3.312 kB / 450.1 MB, free: 66.65 MB / 410.7 MB Notification: Performance of Templates: time 0.008101/0.2095, allocations: 12.39 MB / 462.5 MB, free: 65.49 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HeatingOfWater.sim & ./Chemical_Chemical.Obsolete.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.244201997295022] Failed to read output from testmodel.py, exit status != 0: 0.21486840769648552 0.22143641400000003 0.206259312 Calling exit ...