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.00134/0.00134, allocations: 115.2 kB / 17.13 MB, free: 6.004 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.002175/0.002175, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.658/1.658, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.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.1681/0.1681, allocations: 23.86 MB / 333.4 MB, free: 1.211 MB / 254.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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 68.23 kB / 467.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1323, allocations: 59.83 MB / 0.5146 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.006087/0.1384, allocations: 3.481 MB / 0.518 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007735/0.1462, allocations: 4.779 MB / 0.5227 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.1467, allocations: 11.88 kB / 0.5227 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.1472, allocations: 107 kB / 0.5228 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.1485, allocations: 464.8 kB / 0.5232 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.15, allocations: 0.5283 MB / 0.5238 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008632/0.1508, allocations: 0.5805 MB / 0.5243 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004229/0.1513, allocations: 300.4 kB / 0.5246 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003366/0.1516, allocations: 299.1 kB / 0.5249 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004523/0.1521, allocations: 306.8 kB / 0.5252 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.628e-05/0.1521, allocations: 52 kB / 0.5252 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.1535, allocations: 483.3 kB / 0.5257 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001509/0.1537, allocations: 115.7 kB / 0.5258 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002994/0.154, allocations: 282.7 kB / 0.5261 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.1557, allocations: 1.074 MB / 0.5271 GB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1557, allocations: 4 kB / 0.5271 GB, free: 15.58 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1557, allocations: 0 / 0.5271 GB, free: 15.58 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1557, allocations: 0 / 0.5271 GB, free: 15.58 MB / 398.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.001735/0.1575, allocations: 0.876 MB / 0.528 GB, free: 14.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1575, allocations: 8.031 kB / 0.528 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004417/0.158, allocations: 100.3 kB / 0.5281 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007298/0.1587, allocations: 370.5 kB / 0.5284 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/0.1587, allocations: 37.38 kB / 0.5285 GB, free: 14.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.1588, allocations: 52.38 kB / 0.5285 GB, free: 14.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008364/0.1597, allocations: 454.6 kB / 0.529 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.1597, allocations: 4 kB / 0.529 GB, free: 13.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.908e-05/0.1597, allocations: 23.98 kB / 0.529 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1598, allocations: 12 kB / 0.529 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008849/0.1606, allocations: 0.5075 MB / 0.5295 GB, free: 13.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.1632, allocations: 1.538 MB / 0.531 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.164, allocations: 338.6 kB / 0.5313 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.1642, allocations: 108.8 kB / 0.5314 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002427/0.1667, allocations: 1.565 MB / 0.533 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.1667, allocations: 38.44 kB / 0.533 GB, free: 9.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.1667, allocations: 0 / 0.533 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.01435/0.181, allocations: 2.335 MB / 0.5353 GB, free: 6.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1811, allocations: 59.41 kB / 0.5353 GB, free: 6.672 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004362/0.1815, allocations: 296.5 kB / 0.5356 GB, free: 6.375 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/0.1816, allocations: 33.64 kB / 0.5356 GB, free: 6.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002091/0.1818, allocations: 280.1 kB / 0.5359 GB, free: 6.059 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1819, allocations: 107.1 kB / 0.536 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.1821, allocations: 86.08 kB / 0.5361 GB, free: 5.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1822, allocations: 346.7 kB / 0.5364 GB, free: 5.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.1825, allocations: 136.8 kB / 0.5366 GB, free: 5.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.1829, allocations: 260 kB / 0.5368 GB, free: 5.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000634/0.1835, allocations: 432.8 kB / 0.5372 GB, free: 4.594 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1835, allocations: 0 / 0.5372 GB, free: 4.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003986/0.1875, allocations: 0.8119 MB / 0.538 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.1875, allocations: 7.938 kB / 0.538 GB, free: 3.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1875, allocations: 8 kB / 0.538 GB, free: 3.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.191, allocations: 413.8 kB / 0.5384 GB, free: 3.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.1913, allocations: 79.84 kB / 0.5385 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006821/0.1981, allocations: 3.975 MB / 0.5424 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.1985, allocations: 20.03 kB / 0.5424 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.1986, allocations: 20 kB / 0.5424 GB, free: 14.96 MB / 414.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.0002942/0.1989, allocations: 165.7 kB / 0.5426 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.199, allocations: 39.7 kB / 0.5426 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/0.2039, allocations: 0.8276 MB / 0.5434 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.2039, allocations: 12.08 kB / 0.5434 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2039, allocations: 3.984 kB / 0.5434 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2039, allocations: 4 kB / 0.5434 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000968/0.2048, allocations: 0.6271 MB / 0.5441 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.2048, allocations: 7.938 kB / 0.5441 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000198/0.205, allocations: 55.91 kB / 0.5441 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004539/0.2096, allocations: 482 kB / 0.5446 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.922e-05/0.2096, allocations: 19.94 kB / 0.5446 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007921/0.2176, allocations: 5.307 MB / 0.5498 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.2176, allocations: 0 / 0.5498 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/0.2228, allocations: 1.12 MB / 0.5509 GB, free: 5.719 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001911/0.223, allocations: 124.9 kB / 0.551 GB, free: 5.578 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.223, allocations: 8 kB / 0.551 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2233, allocations: 12 kB / 0.551 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.2235, allocations: 47.81 kB / 0.5511 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.902e-05/0.2235, allocations: 16 kB / 0.5511 GB, free: 5.496 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000275/0.2238, allocations: 203.1 kB / 0.5513 GB, free: 5.297 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2238, allocations: 0 / 0.5513 GB, free: 5.297 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001011/0.2248, allocations: 243.5 kB / 0.5515 GB, free: 5.059 MB / 414.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.0006127/0.2254, allocations: 286.6 kB / 0.5518 GB, free: 4.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.2269, allocations: 0.666 MB / 0.5524 GB, free: 4.078 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.2269, allocations: 4 kB / 0.5524 GB, free: 4.074 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009988/0.2279, allocations: 0.5978 MB / 0.553 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007343/0.2287, allocations: 114.7 kB / 0.5531 GB, free: 3.332 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2308, allocations: 1.065 MB / 0.5542 GB, free: 2.203 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.2313, allocations: 0.8236 MB / 0.555 GB, free: 1.355 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.2315, allocations: 71.62 kB / 0.555 GB, free: 1.285 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2315, allocations: 0 / 0.555 GB, free: 1.285 MB / 414.1 MB Notification: Performance of Templates: time 0.01793/0.2494, allocations: 12.23 MB / 0.567 GB, free: 5.094 MB / 430.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: 9.7064465059957] Failed to read output from testmodel.py, exit status != 0: 0.25829527899622917 0.273037857 0.11435837600000001 Calling exit ...