Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001502/0.001502, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00186/0.00186, allocations: 222.9 kB / 23 MB, free: 4.91 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1436/0.1436, allocations: 24 MB / 337.2 MB, free: 10.86 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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_master_Chemical.Examples.HeatingOfWater") translateModel(Chemical.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_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.002786/0.002786, allocations: 67.89 kB / 472.5 MB, free: 6.883 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.333, allocations: 59.9 MB / 0.5199 GB, free: 9.766 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1361:7-1361: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 master/Boundaries.mo:1361:7-1361: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.07428/0.4072, allocations: 25.93 MB / 0.5453 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01318/0.4204, allocations: 7.512 MB / 0.5526 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.4218, allocations: 19.88 kB / 0.5526 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002707/0.4245, allocations: 0.6759 MB / 0.5533 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.4269, allocations: 0.5954 MB / 0.5539 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002699/0.4296, allocations: 0.7925 MB / 0.5546 GB, free: 5.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002004/0.4316, allocations: 1.156 MB / 0.5558 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003405/0.4319, allocations: 157.8 kB / 0.5559 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005451/0.4325, allocations: 398.9 kB / 0.5563 GB, free: 3.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.4333, allocations: 499.9 kB / 0.5568 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.4334, allocations: 80 kB / 0.5568 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.4359, allocations: 0.9398 MB / 0.5578 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.4362, allocations: 251.7 kB / 0.558 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004161/0.4366, allocations: 417.9 kB / 0.5584 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003689/0.4403, allocations: 2.286 MB / 0.5606 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4403, allocations: 0.5156 kB / 0.5606 GB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4403, allocations: 0 / 0.5606 GB, free: 15.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.4403, allocations: 0 / 0.5606 GB, free: 15.91 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002491/0.4428, allocations: 1.41 MB / 0.562 GB, free: 14.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4428, allocations: 8.031 kB / 0.562 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004804/0.4433, allocations: 204 kB / 0.5622 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008253/0.4441, allocations: 0.4975 MB / 0.5627 GB, free: 13.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001512/0.4443, allocations: 126 kB / 0.5628 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/0.4444, allocations: 92.36 kB / 0.5629 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003791/0.4482, allocations: 3.218 MB / 0.566 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.4482, allocations: 0 / 0.566 GB, free: 10.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.717e-05/0.4483, allocations: 36 kB / 0.5661 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.4485, allocations: 130.1 kB / 0.5662 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007098/0.4556, allocations: 6.241 MB / 0.5723 GB, free: 3.957 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.008241/0.4638, allocations: 4.66 MB / 0.5768 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008372/0.4647, allocations: 410.5 kB / 0.5772 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.4651, allocations: 252.8 kB / 0.5775 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004358/0.4694, allocations: 2.157 MB / 0.5796 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.4694, allocations: 34.84 kB / 0.5796 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.4694, allocations: 0 / 0.5796 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=46): time 0.01758/0.487, allocations: 3.953 MB / 0.5835 GB, free: 8.281 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.4871, allocations: 55.41 kB / 0.5835 GB, free: 8.215 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.4881, allocations: 0.7229 MB / 0.5842 GB, free: 7.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.4882, allocations: 41.7 kB / 0.5843 GB, free: 7.438 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.4887, allocations: 0.6357 MB / 0.5849 GB, free: 6.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.4889, allocations: 174.5 kB / 0.5851 GB, free: 6.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.4893, allocations: 226.5 kB / 0.5853 GB, free: 6.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002465/0.4895, allocations: 386.8 kB / 0.5857 GB, free: 6.008 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.49, allocations: 297.9 kB / 0.5859 GB, free: 5.719 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/0.4909, allocations: 0.6496 MB / 0.5866 GB, free: 4.898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.4925, allocations: 1.038 MB / 0.5876 GB, free: 3.684 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4925, allocations: 4 kB / 0.5876 GB, free: 3.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.005211/0.4977, allocations: 1.509 MB / 0.5891 GB, free: 2.152 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4977, allocations: 12 kB / 0.5891 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.4977, allocations: 12 kB / 0.5891 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004516/0.5022, allocations: 0.6424 MB / 0.5897 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.5038, allocations: 363.6 kB / 0.5901 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.5078, allocations: 2.828 MB / 0.5928 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.5085, allocations: 40.03 kB / 0.5929 GB, free: 14.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/0.5087, allocations: 132.2 kB / 0.593 GB, free: 13.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 2 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 91 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,5), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006583/0.5093, allocations: 357.9 kB / 0.5933 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.5095, allocations: 83.47 kB / 0.5934 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005057/0.5146, allocations: 1.427 MB / 0.5948 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.5146, allocations: 8 kB / 0.5948 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.5146, allocations: 0 / 0.5948 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.5146, allocations: 3.984 kB / 0.5948 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5161, allocations: 0.8506 MB / 0.5956 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.5161, allocations: 7.938 kB / 0.5957 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.5173, allocations: 251.8 kB / 0.5959 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004183/0.5215, allocations: 0.5408 MB / 0.5964 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-05/0.5216, allocations: 31.98 kB / 0.5964 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/0.5283, allocations: 4.12 MB / 0.6005 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.5283, allocations: 4 kB / 0.6005 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005045/0.5333, allocations: 1.524 MB / 0.602 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.5335, allocations: 75.45 kB / 0.602 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.5336, allocations: 15.94 kB / 0.6021 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.5341, allocations: 20 kB / 0.6021 GB, free: 4.289 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.5342, allocations: 68.27 kB / 0.6021 GB, free: 4.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.785e-05/0.5343, allocations: 47.98 kB / 0.6022 GB, free: 4.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00074/0.535, allocations: 499 kB / 0.6027 GB, free: 3.688 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.535, allocations: 0 / 0.6027 GB, free: 3.688 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001269/0.5363, allocations: 303.7 kB / 0.6029 GB, free: 3.391 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (solution.temperature,liquidWater.logm) * 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 (47): * Single equations (assignments): 44 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006809/0.537, allocations: 346.9 kB / 0.6033 GB, free: 3.043 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002459/0.5394, allocations: 0.9753 MB / 0.6042 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5394, allocations: 0 / 0.6042 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.5409, allocations: 0.6289 MB / 0.6048 GB, free: 1.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00097/0.5419, allocations: 195.7 kB / 0.605 GB, free: 1.219 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.5459, allocations: 2.306 MB / 0.6073 GB, free: 14.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/0.5466, allocations: 0.5145 MB / 0.6078 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004966/0.5471, allocations: 147.3 kB / 0.6079 GB, free: 14.15 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.5471, allocations: 0 / 0.6079 GB, free: 14.15 MB / 462.1 MB Notification: Performance of Templates: time 0.04271/0.5898, allocations: 31.42 MB / 0.6386 GB, free: 14.73 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.HeatingOfWater.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; mkfifo Chemical_master_Chemical.Examples.HeatingOfWater.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.HeatingOfWater.pipe >> ../files/Chemical_master_Chemical.Examples.HeatingOfWater.sim & ./Chemical_master_Chemical.Examples.HeatingOfWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.981738984119147] Failed to read output from testmodel.py, exit status != 0: 0.6002520052716136 0.613675298 0.170370345 Calling exit ...