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.001351/0.001351, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001452/0.001452, allocations: 165 kB / 22.46 MB, free: 5.359 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.472/1.472, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.1309/0.1309, allocations: 17.36 MB / 276.5 MB, free: 15.31 MB / 270.1 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 2.194e-06/2.194e-06, allocations: 0 / 411.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.933e-05/3.152e-05, allocations: 10.22 kB / 411.9 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.007293/0.007324, allocations: 3.203 MB / 415.1 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0089/0.01622, allocations: 4.241 MB / 419.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.01683, allocations: 7.938 kB / 419.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.01743, allocations: 107.1 kB / 419.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.01915, allocations: 464.5 kB / 420 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002208/0.02136, allocations: 0.5475 MB / 420.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001318/0.02268, allocations: 0.6036 MB / 421.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005932/0.02327, allocations: 308.7 kB / 421.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007344/0.02401, allocations: 411.2 kB / 421.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.02458, allocations: 239.4 kB / 422 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.02471, allocations: 52 kB / 422.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001737/0.02644, allocations: 455.2 kB / 422.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.02664, allocations: 115.6 kB / 422.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003425/0.02698, allocations: 203.5 kB / 422.8 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002532/0.02951, allocations: 1.133 MB / 424 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.02952, allocations: 0 / 424 MB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.02952, allocations: 0 / 424 MB, free: 8.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.02953, allocations: 0 / 424 MB, free: 8.355 MB / 350.1 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.002145/0.03167, allocations: 0.789 MB / 424.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.03174, allocations: 16.02 kB / 424.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005513/0.03229, allocations: 88.58 kB / 424.9 MB, free: 7.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008362/0.03312, allocations: 312.3 kB / 425.2 MB, free: 7.105 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.03319, allocations: 37.38 kB / 425.2 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.03332, allocations: 56.27 kB / 425.3 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.03448, allocations: 447 kB / 425.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.0345, allocations: 192 / 425.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.962e-05/0.03457, allocations: 20.38 kB / 425.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.03459, allocations: 15.94 kB / 425.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.03595, allocations: 0.5036 MB / 426.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.03922, allocations: 1.132 MB / 427.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.04034, allocations: 342.4 kB / 427.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.04061, allocations: 108.8 kB / 427.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002883/0.0435, allocations: 0.87 MB / 428.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.04354, allocations: 42.56 kB / 428.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.615e-06/0.04354, allocations: 0 / 428.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.02024/0.06378, allocations: 2.118 MB / 430.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.846e-05/0.06385, allocations: 55.41 kB / 430.9 MB, free: 1.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005071/0.06435, allocations: 276.1 kB / 431.2 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.491e-05/0.06442, allocations: 29.7 kB / 431.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.0647, allocations: 284 kB / 431.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.06486, allocations: 115.1 kB / 431.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.06507, allocations: 86.14 kB / 431.7 MB, free: 444 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.06531, allocations: 342.8 kB / 432 MB, free: 92 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004048/0.06571, allocations: 133 kB / 432.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005279/0.06624, allocations: 260.6 kB / 432.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000946/0.06719, allocations: 432.8 kB / 432.8 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.06719, allocations: 4 kB / 432.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005674/0.07287, allocations: 0.8045 MB / 433.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.07289, allocations: 8 kB / 433.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.07291, allocations: 4 kB / 433.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004916/0.07782, allocations: 413.4 kB / 434 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.07827, allocations: 79.83 kB / 434.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/0.0878, allocations: 3.696 MB / 437.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.08838, allocations: 19.97 kB / 437.8 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.08849, allocations: 20 kB / 437.8 MB, free: 9.91 MB / 366.1 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.0004081/0.08889, allocations: 173.7 kB / 438 MB, free: 9.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.08904, allocations: 31.95 kB / 438 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006707/0.09575, allocations: 0.8343 MB / 438.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.09575, allocations: 4 kB / 438.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.219e-06/0.09576, allocations: 0 / 438.9 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.09577, allocations: 4 kB / 438.9 MB, free: 8.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.09699, allocations: 490.2 kB / 439.4 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.097, allocations: 4 kB / 439.4 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002825/0.09728, allocations: 55.91 kB / 439.4 MB, free: 8.246 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006216/0.1035, allocations: 482.2 kB / 439.9 MB, free: 7.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.1036, allocations: 15.98 kB / 439.9 MB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01063/0.1142, allocations: 4.874 MB / 444.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/0.1142, allocations: 3.938 kB / 444.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00723/0.1214, allocations: 1.112 MB / 445.9 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.1216, allocations: 35.75 kB / 445.9 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/0.1217, allocations: 8 kB / 445.9 MB, free: 1.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.1221, allocations: 12 kB / 446 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.1223, allocations: 51.8 kB / 446 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.1224, allocations: 23.92 kB / 446 MB, free: 1.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002979/0.1226, allocations: 179.1 kB / 446.2 MB, free: 1.098 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1226, allocations: 4 kB / 446.2 MB, free: 1.094 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001293/0.1239, allocations: 243.5 kB / 446.4 MB, free: 0.8555 MB / 366.1 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.000786/0.1247, allocations: 298.8 kB / 446.7 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.1857/0.3104, allocations: 0.6555 MB / 447.4 MB, free: 45.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.016e-05/0.3104, allocations: 1.344 kB / 447.4 MB, free: 45.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/0.3115, allocations: 0.5959 MB / 448 MB, free: 44.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007646/0.3123, allocations: 98.7 kB / 448.1 MB, free: 44.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3139, allocations: 0.9473 MB / 449 MB, free: 44.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3142, allocations: 226.3 kB / 449.3 MB, free: 44.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002324/0.3144, allocations: 75.12 kB / 449.3 MB, free: 44.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.3145, allocations: 61.16 kB / 449.4 MB, free: 44.45 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3145, allocations: 0 / 449.4 MB, free: 44.45 MB / 366.1 MB Notification: Performance of Templates: time 0.02047/0.335, allocations: 11.69 MB / 461.1 MB, free: 41.35 MB / 366.1 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.292959298938513] Failed to read output from testmodel.py, exit status != 0: 0.34559790417551994 0.353591111 0.32170768800000005 Calling exit ...