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.001334/0.001334, allocations: 104.3 kB / 19.7 MB, free: 2.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.00149/0.00149, allocations: 221 kB / 23 MB, free: 4.918 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1373/0.1373, allocations: 23.88 MB / 337.1 MB, free: 10.99 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.002084/0.002084, allocations: 71.89 kB / 472.4 MB, free: 7.039 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3638, allocations: 59.86 MB / 0.5197 GB, free: 9.801 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.07318/0.4369, allocations: 25.82 MB / 0.545 GB, free: 13.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01193/0.4489, allocations: 7.246 MB / 0.552 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.45, allocations: 15.88 kB / 0.5521 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00279/0.4528, allocations: 0.7223 MB / 0.5528 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002136/0.455, allocations: 0.5426 MB / 0.5533 GB, free: 6.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002591/0.4575, allocations: 0.742 MB / 0.554 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.4598, allocations: 1.129 MB / 0.5551 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003276/0.4601, allocations: 152.8 kB / 0.5553 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005209/0.4606, allocations: 380.5 kB / 0.5556 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005407/0.4612, allocations: 370.8 kB / 0.556 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4613, allocations: 84 kB / 0.5561 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003016/0.4643, allocations: 0.9595 MB / 0.557 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002963/0.4646, allocations: 267.2 kB / 0.5572 GB, free: 2.672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004744/0.4651, allocations: 416.7 kB / 0.5576 GB, free: 2.293 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005011/0.4701, allocations: 2.316 MB / 0.5599 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.4701, allocations: 4.891 kB / 0.5599 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4701, allocations: 0 / 0.5599 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.4701, allocations: 0 / 0.5599 GB, free: 0.5391 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.002716/0.4729, allocations: 1.401 MB / 0.5613 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4729, allocations: 8.688 kB / 0.5613 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006422/0.4735, allocations: 217.4 kB / 0.5615 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009823/0.4745, allocations: 0.5403 MB / 0.562 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/0.4747, allocations: 173.9 kB / 0.5622 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4749, allocations: 88.31 kB / 0.5623 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004449/0.4793, allocations: 3.792 MB / 0.566 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.4794, allocations: 0 / 0.566 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-05/0.4794, allocations: 35.98 kB / 0.566 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000178/0.4796, allocations: 146 kB / 0.5661 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007397/0.487, allocations: 6.748 MB / 0.5727 GB, free: 3.508 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.01423/0.5012, allocations: 8.723 MB / 0.5813 GB, free: 10.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002768/0.504, allocations: 1.748 MB / 0.583 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001854/0.5059, allocations: 1.344 MB / 0.5843 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001803/0.5077, allocations: 0.6376 MB / 0.5849 GB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5077, allocations: 34.56 kB / 0.5849 GB, free: 6.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.906e-06/0.5077, allocations: 7.938 kB / 0.5849 GB, free: 6.926 MB / 430.1 MB Notification: Performance of matching and sorting (n=68): time 0.05473/0.5624, allocations: 15.24 MB / 0.5998 GB, free: 7.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07257/0.635, allocations: 21.93 MB / 0.6212 GB, free: 1.422 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009765/0.636, allocations: 0.625 MB / 0.6219 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/0.6363, allocations: 37.7 kB / 0.6219 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004869/0.6368, allocations: 0.547 MB / 0.6224 GB, free: 196 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005341/0.6373, allocations: 250.2 kB / 0.6227 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007818/0.6381, allocations: 266.5 kB / 0.6229 GB, free: 15.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.6383, allocations: 378.8 kB / 0.6233 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00334/0.6416, allocations: 2.426 MB / 0.6257 GB, free: 12.87 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003469/0.6451, allocations: 2.558 MB / 0.6281 GB, free: 10.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/0.6503, allocations: 3.341 MB / 0.6314 GB, free: 6.871 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.6503, allocations: 8 kB / 0.6314 GB, free: 6.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.01682/0.6671, allocations: 6.784 MB / 0.638 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.6671, allocations: 12.03 kB / 0.6381 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6671, allocations: 4 kB / 0.6381 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/0.6813, allocations: 3.433 MB / 0.6414 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.6836, allocations: 323.6 kB / 0.6417 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02252/0.7061, allocations: 13.28 MB / 0.6547 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.7078, allocations: 79.94 kB / 0.6548 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004856/0.7083, allocations: 175.9 kB / 0.6549 GB, free: 14.59 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.001134/0.7094, allocations: 337.5 kB / 0.6553 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004916/0.7099, allocations: 75.48 kB / 0.6553 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/0.7239, allocations: 4.422 MB / 0.6596 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01201/0.7359, allocations: 3.681 MB / 0.6632 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.7359, allocations: 4 kB / 0.6632 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/0.7359, allocations: 7.922 kB / 0.6633 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0178/0.7537, allocations: 6.858 MB / 0.67 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.7537, allocations: 4 kB / 0.67 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001543/0.7552, allocations: 172.1 kB / 0.6701 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02928/0.7845, allocations: 3.696 MB / 0.6737 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002914/0.7848, allocations: 48.14 kB / 0.6738 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01376/0.7986, allocations: 6.312 MB / 0.6799 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05965/0.8582, allocations: 14.24 MB / 0.6938 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01545/0.8737, allocations: 5.678 MB / 0.6994 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.874, allocations: 87.56 kB / 0.6995 GB, free: 328 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/0.8743, allocations: 16 kB / 0.6995 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.8756, allocations: 59.92 kB / 0.6995 GB, free: 252 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003535/0.876, allocations: 96.28 kB / 0.6996 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001811/0.8762, allocations: 75.95 kB / 0.6997 GB, free: 80 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001065/0.8772, allocations: 0.6944 MB / 0.7004 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8772, allocations: 0 / 0.7004 GB, free: 15.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002199/0.8794, allocations: 0.5778 MB / 0.701 GB, free: 14.8 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.001016/0.8804, allocations: 363.7 kB / 0.7013 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006828/0.8873, allocations: 3.681 MB / 0.7049 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.8873, allocations: 0 / 0.7049 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003517/0.8908, allocations: 1.45 MB / 0.7063 GB, free: 9.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.892, allocations: 203.7 kB / 0.7065 GB, free: 9.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/0.898, allocations: 3.101 MB / 0.7095 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.8989, allocations: 0.5388 MB / 0.7101 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008659/0.8997, allocations: 119.3 kB / 0.7102 GB, free: 5.207 MB / 0.545 GB Notification: Performance of SimCode: time 8.42e-07/0.8997, allocations: 0 / 0.7102 GB, free: 5.207 MB / 0.545 GB Notification: Performance of Templates: time 0.2793/1.179, allocations: 41.4 MB / 0.7506 GB, free: 180.1 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: 11.58211728790775] Failed to read output from testmodel.py, exit status != 0: 1.188399821985513 1.198448457 0.7260514600000001 Calling exit ...