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.001382/0.001382, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001464/0.001464, allocations: 222.2 kB / 22.25 MB, free: 5.254 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.789 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.1718/0.1718, allocations: 23.93 MB / 336.3 MB, free: 10.91 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.002105/0.002105, allocations: 67.89 kB / 471.7 MB, free: 6.953 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4522/0.4543, allocations: 59.87 MB / 0.5191 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Boundaries.mo:1350:7-1350: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:1350:7-1350: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.07913/0.5334, allocations: 25.75 MB / 0.5442 GB, free: 13.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.5483, allocations: 7.258 MB / 0.5513 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00191/0.5502, allocations: 19.88 kB / 0.5513 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003747/0.5539, allocations: 0.6738 MB / 0.552 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003276/0.5572, allocations: 0.5844 MB / 0.5526 GB, free: 6.137 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003755/0.5609, allocations: 0.7362 MB / 0.5533 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002918/0.5639, allocations: 1.122 MB / 0.5544 GB, free: 4.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004913/0.5643, allocations: 164.7 kB / 0.5545 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007314/0.5651, allocations: 389.8 kB / 0.5549 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.5661, allocations: 0.5174 MB / 0.5554 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.5663, allocations: 76 kB / 0.5555 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003772/0.5701, allocations: 0.9091 MB / 0.5564 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003971/0.5705, allocations: 247 kB / 0.5566 GB, free: 2.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006252/0.5711, allocations: 400.4 kB / 0.557 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005507/0.5766, allocations: 2.214 MB / 0.5591 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.5766, allocations: 9.109 kB / 0.5592 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5766, allocations: 0 / 0.5592 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.731e-05/0.5766, allocations: 0 / 0.5592 GB, free: 0.5078 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.0042/0.5808, allocations: 1.367 MB / 0.5605 GB, free: 15.23 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.14e-05/0.5809, allocations: 8.031 kB / 0.5605 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008691/0.5818, allocations: 201.9 kB / 0.5607 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5832, allocations: 0.4921 MB / 0.5612 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.5834, allocations: 128.6 kB / 0.5613 GB, free: 14.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.5836, allocations: 81.03 kB / 0.5614 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.589, allocations: 3.08 MB / 0.5644 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.5891, allocations: 0 / 0.5644 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001118/0.5892, allocations: 36 kB / 0.5644 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000244/0.5894, allocations: 130 kB / 0.5645 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009296/0.5987, allocations: 5.865 MB / 0.5703 GB, free: 5.262 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.01075/0.6095, allocations: 4.477 MB / 0.5746 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009369/0.6104, allocations: 398.6 kB / 0.575 GB, free: 332 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.6108, allocations: 244.7 kB / 0.5753 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004333/0.6151, allocations: 2.036 MB / 0.5772 GB, free: 14.03 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6151, allocations: 30.56 kB / 0.5773 GB, free: 13.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.6151, allocations: 0 / 0.5773 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01679/0.6319, allocations: 3.873 MB / 0.581 GB, free: 9.996 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.879e-05/0.632, allocations: 63.39 kB / 0.5811 GB, free: 9.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.6333, allocations: 0.7112 MB / 0.5818 GB, free: 9.203 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.6333, allocations: 41.7 kB / 0.5818 GB, free: 9.156 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005734/0.6339, allocations: 0.6356 MB / 0.5825 GB, free: 8.512 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.6341, allocations: 170.6 kB / 0.5826 GB, free: 8.344 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/0.6345, allocations: 222.5 kB / 0.5828 GB, free: 8.121 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.6347, allocations: 382.8 kB / 0.5832 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.6353, allocations: 285.8 kB / 0.5835 GB, free: 7.457 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008781/0.6362, allocations: 0.6496 MB / 0.5841 GB, free: 6.633 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.6377, allocations: 1.003 MB / 0.5851 GB, free: 5.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.6377, allocations: 4 kB / 0.5851 GB, free: 5.449 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005268/0.643, allocations: 1.486 MB / 0.5865 GB, free: 3.945 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.643, allocations: 12 kB / 0.5866 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.643, allocations: 12 kB / 0.5866 GB, free: 3.922 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/0.6477, allocations: 0.6423 MB / 0.5872 GB, free: 3.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.6488, allocations: 255.6 kB / 0.5874 GB, free: 3.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.6528, allocations: 2.844 MB / 0.5902 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007413/0.6535, allocations: 32.03 kB / 0.5902 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.6537, allocations: 123.9 kB / 0.5904 GB, free: 15.87 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 (92): * Single equations (assignments): 89 * 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.0006832/0.6544, allocations: 349.4 kB / 0.5907 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.6546, allocations: 83.48 kB / 0.5908 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005796/0.6604, allocations: 1.432 MB / 0.5922 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6604, allocations: 8 kB / 0.5922 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6604, allocations: 0 / 0.5922 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.6604, allocations: 3.984 kB / 0.5922 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.6618, allocations: 0.8504 MB / 0.593 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6618, allocations: 4 kB / 0.593 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000784/0.6626, allocations: 136.1 kB / 0.5932 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005056/0.6677, allocations: 0.6509 MB / 0.5938 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.416e-05/0.6677, allocations: 23.98 kB / 0.5938 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008606/0.6763, allocations: 5.578 MB / 0.5993 GB, free: 6.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.6763, allocations: 3.938 kB / 0.5993 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005475/0.6818, allocations: 1.498 MB / 0.6007 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/0.6821, allocations: 71.5 kB / 0.6008 GB, free: 4.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.6822, allocations: 15.94 kB / 0.6008 GB, free: 4.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.6826, allocations: 15.94 kB / 0.6008 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.6828, allocations: 68.27 kB / 0.6009 GB, free: 4.598 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.96e-05/0.6828, allocations: 43.98 kB / 0.6009 GB, free: 4.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008124/0.6837, allocations: 0.4913 MB / 0.6014 GB, free: 4.066 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6837, allocations: 0 / 0.6014 GB, free: 4.066 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001375/0.685, allocations: 291.7 kB / 0.6017 GB, free: 3.781 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (liquidWater.substance.amountOfBonds,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 3 systems {(1,2), (1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006952/0.6857, allocations: 347.1 kB / 0.602 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.688, allocations: 0.9207 MB / 0.6029 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.688, allocations: 0 / 0.6029 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.6896, allocations: 0.7253 MB / 0.6036 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.6906, allocations: 196.4 kB / 0.6038 GB, free: 1.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003991/0.6946, allocations: 2.173 MB / 0.6059 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.6952, allocations: 0.5101 MB / 0.6064 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009728/0.6962, allocations: 301.8 kB / 0.6067 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004145/0.6966, allocations: 123.4 kB / 0.6068 GB, free: 14.36 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6966, allocations: 0 / 0.6068 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Templates: time 0.03778/0.7344, allocations: 21.49 MB / 0.6278 GB, free: 9.023 MB / 478.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: 6.559278131928295] Failed to read output from testmodel.py, exit status != 0: 0.7444216557778418 0.760058088 0.179823845 Calling exit ...