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.001668/0.001668, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001741/0.001741, allocations: 215.2 kB / 22.3 MB, free: 5.305 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.596/1.596, allocations: 230.6 MB / 256.1 MB, free: 7.742 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.1524/0.1524, allocations: 23.89 MB / 336.4 MB, free: 10.93 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.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: 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.002065/0.002065, allocations: 63.91 kB / 471.7 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3465, allocations: 59.86 MB / 0.5191 GB, free: 9.832 MB / 382.1 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.08016/0.4267, allocations: 25.8 MB / 0.5443 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.4402, allocations: 7.245 MB / 0.5514 GB, free: 7.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001305/0.4415, allocations: 11.94 kB / 0.5514 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.4444, allocations: 0.7215 MB / 0.5521 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.4464, allocations: 0.5563 MB / 0.5526 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.4492, allocations: 0.741 MB / 0.5534 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.4514, allocations: 1.13 MB / 0.5545 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.4518, allocations: 149 kB / 0.5546 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007833/0.4526, allocations: 376.3 kB / 0.555 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009401/0.4536, allocations: 379.5 kB / 0.5553 GB, free: 3.781 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002523/0.4538, allocations: 84 kB / 0.5554 GB, free: 3.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002863/0.4567, allocations: 0.9519 MB / 0.5563 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004615/0.4571, allocations: 271.4 kB / 0.5566 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008823/0.458, allocations: 415.6 kB / 0.557 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005245/0.4633, allocations: 2.32 MB / 0.5593 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4633, allocations: 0 / 0.5593 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4633, allocations: 4.984 kB / 0.5593 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.385e-05/0.4633, allocations: 0 / 0.5593 GB, free: 0.5195 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00388/0.4672, allocations: 1.393 MB / 0.5606 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.4673, allocations: 12.03 kB / 0.5606 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008225/0.4681, allocations: 221.4 kB / 0.5608 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.4693, allocations: 0.5311 MB / 0.5614 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002735/0.4696, allocations: 169.9 kB / 0.5615 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.4697, allocations: 96.25 kB / 0.5616 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004843/0.4746, allocations: 3.799 MB / 0.5653 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.4746, allocations: 0 / 0.5653 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.4747, allocations: 28 kB / 0.5654 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001999/0.4749, allocations: 149.9 kB / 0.5655 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007877/0.4828, allocations: 6.748 MB / 0.5721 GB, free: 3.477 MB / 414.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.01419/0.4969, allocations: 8.728 MB / 0.5806 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00277/0.4997, allocations: 1.736 MB / 0.5823 GB, free: 8.938 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.5016, allocations: 1.348 MB / 0.5836 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00189/0.5035, allocations: 0.6298 MB / 0.5842 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5035, allocations: 42.5 kB / 0.5843 GB, free: 6.906 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.325e-06/0.5036, allocations: 0 / 0.5843 GB, free: 6.906 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05794/0.5615, allocations: 15.28 MB / 0.5992 GB, free: 7.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07708/0.6386, allocations: 21.98 MB / 0.6207 GB, free: 1.328 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.6397, allocations: 0.6291 MB / 0.6213 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002884/0.64, allocations: 33.7 kB / 0.6213 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.6404, allocations: 0.5392 MB / 0.6218 GB, free: 108 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004958/0.6409, allocations: 245.8 kB / 0.6221 GB, free: 15.86 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007703/0.6417, allocations: 274.5 kB / 0.6223 GB, free: 15.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.6419, allocations: 382.8 kB / 0.6227 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003533/0.6454, allocations: 2.423 MB / 0.6251 GB, free: 12.78 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003567/0.649, allocations: 2.558 MB / 0.6276 GB, free: 10.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.6543, allocations: 3.345 MB / 0.6308 GB, free: 6.781 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6543, allocations: 0 / 0.6308 GB, free: 6.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01879/0.6731, allocations: 6.784 MB / 0.6375 GB, free: 15.97 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.755e-05/0.6732, allocations: 7.984 kB / 0.6375 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.6732, allocations: 4 kB / 0.6375 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/0.6888, allocations: 3.468 MB / 0.6408 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/0.6913, allocations: 315.6 kB / 0.6412 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02495/0.7162, allocations: 13.28 MB / 0.6541 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/0.7182, allocations: 79.92 kB / 0.6542 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006195/0.7189, allocations: 179.9 kB / 0.6544 GB, free: 14.47 MB / 0.4981 GB 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.001274/0.7201, allocations: 337.5 kB / 0.6547 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.7207, allocations: 75.48 kB / 0.6548 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/0.7354, allocations: 4.422 MB / 0.6591 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01293/0.7484, allocations: 3.673 MB / 0.6627 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/0.7484, allocations: 3.938 kB / 0.6627 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/0.7484, allocations: 7.984 kB / 0.6627 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01882/0.7672, allocations: 6.851 MB / 0.6694 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.7672, allocations: 384 / 0.6694 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.7689, allocations: 183.7 kB / 0.6695 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03026/0.7991, allocations: 3.747 MB / 0.6732 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002927/0.7994, allocations: 47.95 kB / 0.6732 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.8145, allocations: 6.316 MB / 0.6794 GB, free: 4.465 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.06419/0.8787, allocations: 14.26 MB / 0.6933 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.8946, allocations: 5.686 MB / 0.6989 GB, free: 216 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003614/0.8949, allocations: 79.52 kB / 0.699 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/0.8953, allocations: 19.95 kB / 0.699 GB, free: 116 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.8969, allocations: 59.91 kB / 0.6991 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004929/0.8974, allocations: 100.2 kB / 0.6991 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002503/0.8976, allocations: 83.94 kB / 0.6992 GB, free: 15.87 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001303/0.8989, allocations: 0.6943 MB / 0.6999 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8989, allocations: 3.938 kB / 0.6999 GB, free: 15.18 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002677/0.9016, allocations: 0.57 MB / 0.7005 GB, free: 14.61 MB / 0.545 GB 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.001223/0.9028, allocations: 367.9 kB / 0.7008 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00739/0.9102, allocations: 3.666 MB / 0.7044 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.9102, allocations: 0 / 0.7044 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003872/0.9141, allocations: 1.473 MB / 0.7058 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.9156, allocations: 195.8 kB / 0.706 GB, free: 8.883 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.9221, allocations: 3.029 MB / 0.709 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000983/0.9231, allocations: 0.5349 MB / 0.7095 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001404/0.9245, allocations: 261.5 kB / 0.7098 GB, free: 4.938 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008002/0.9253, allocations: 100.4 kB / 0.7098 GB, free: 4.84 MB / 0.545 GB Notification: Performance of SimCode: time 1.031e-06/0.9253, allocations: 0 / 0.7098 GB, free: 4.84 MB / 0.545 GB Notification: Performance of Templates: time 0.3322/1.257, allocations: 50.06 MB / 0.7587 GB, free: 176 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.831012289971113] Failed to read output from testmodel.py, exit status != 0: 1.267849462106824 1.277052013 0.811516806 Calling exit ...