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.001549/0.001549, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.0017/0.0017, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.397/1.397, allocations: 230.6 MB / 256.8 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.131/0.131, allocations: 23.92 MB / 337.1 MB, free: 10.93 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.002271/0.002271, allocations: 71.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2944, allocations: 59.87 MB / 0.5198 GB, free: 9.844 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.06567/0.3601, allocations: 25.67 MB / 0.5449 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.3715, allocations: 7.25 MB / 0.552 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008911/0.3724, allocations: 19.88 kB / 0.552 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.3747, allocations: 0.6742 MB / 0.5526 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001786/0.3765, allocations: 0.5783 MB / 0.5532 GB, free: 6.203 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002022/0.3786, allocations: 0.7418 MB / 0.5539 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001734/0.3803, allocations: 1.129 MB / 0.555 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003135/0.3806, allocations: 160.6 kB / 0.5552 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000466/0.3811, allocations: 389.9 kB / 0.5555 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000737/0.3818, allocations: 0.513 MB / 0.556 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3819, allocations: 80 kB / 0.5561 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002083/0.384, allocations: 0.906 MB / 0.557 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002615/0.3843, allocations: 250.3 kB / 0.5572 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3847, allocations: 404.6 kB / 0.5576 GB, free: 2.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.3877, allocations: 2.218 MB / 0.5598 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.3877, allocations: 0 / 0.5598 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3877, allocations: 4.891 kB / 0.5598 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3877, allocations: 0 / 0.5598 GB, free: 0.5664 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.002298/0.39, allocations: 1.37 MB / 0.5611 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.39, allocations: 8.031 kB / 0.5612 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004566/0.3905, allocations: 202.1 kB / 0.5613 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007904/0.3913, allocations: 0.4883 MB / 0.5618 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3914, allocations: 128.6 kB / 0.5619 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.3916, allocations: 88.97 kB / 0.562 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.395, allocations: 3.078 MB / 0.565 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.395, allocations: 0 / 0.565 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.258e-05/0.3951, allocations: 35.98 kB / 0.5651 GB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.3952, allocations: 138 kB / 0.5652 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005926/0.4012, allocations: 5.862 MB / 0.5709 GB, free: 5.305 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.006919/0.4081, allocations: 4.477 MB / 0.5753 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.4089, allocations: 394.7 kB / 0.5757 GB, free: 380 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003713/0.4093, allocations: 240.8 kB / 0.5759 GB, free: 136 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003872/0.4132, allocations: 2.028 MB / 0.5779 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.4132, allocations: 34.56 kB / 0.5779 GB, free: 14.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=31): time 1.774e-06/0.4132, allocations: 0 / 0.5779 GB, free: 14.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=44): time 0.01796/0.4312, allocations: 3.877 MB / 0.5817 GB, free: 10.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4312, allocations: 55.41 kB / 0.5818 GB, free: 9.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/0.4321, allocations: 0.719 MB / 0.5825 GB, free: 9.254 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.4322, allocations: 37.7 kB / 0.5825 GB, free: 9.211 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/0.4326, allocations: 0.6434 MB / 0.5831 GB, free: 8.559 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001659/0.4328, allocations: 162.7 kB / 0.5833 GB, free: 8.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003407/0.4331, allocations: 222.5 kB / 0.5835 GB, free: 8.176 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.4333, allocations: 390.7 kB / 0.5839 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/0.4338, allocations: 281.9 kB / 0.5841 GB, free: 7.508 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007702/0.4346, allocations: 0.6457 MB / 0.5848 GB, free: 6.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.4359, allocations: 1.003 MB / 0.5857 GB, free: 5.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.4359, allocations: 8 kB / 0.5857 GB, free: 5.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.005669/0.4416, allocations: 1.478 MB / 0.5872 GB, free: 4.004 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.4416, allocations: 20.09 kB / 0.5872 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.4416, allocations: 16 kB / 0.5872 GB, free: 3.969 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005337/0.447, allocations: 0.6501 MB / 0.5879 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.448, allocations: 251.6 kB / 0.5881 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003761/0.4518, allocations: 2.835 MB / 0.5909 GB, free: 80 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000632/0.4524, allocations: 28 kB / 0.5909 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001863/0.4526, allocations: 132 kB / 0.591 GB, free: 15.92 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.0005473/0.4531, allocations: 345.4 kB / 0.5913 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.4533, allocations: 83.41 kB / 0.5914 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006233/0.4595, allocations: 1.444 MB / 0.5928 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.4596, allocations: 4 kB / 0.5928 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4596, allocations: 4 kB / 0.5928 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4596, allocations: 0 / 0.5928 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.4608, allocations: 0.8349 MB / 0.5937 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.4608, allocations: 4 kB / 0.5937 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/0.4615, allocations: 140 kB / 0.5938 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005863/0.4674, allocations: 0.6431 MB / 0.5944 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.138e-05/0.4675, allocations: 35.86 kB / 0.5945 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.4759, allocations: 5.578 MB / 0.5999 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.4759, allocations: 7.938 kB / 0.5999 GB, free: 6.367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005874/0.4818, allocations: 1.498 MB / 0.6014 GB, free: 4.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001576/0.4819, allocations: 79.45 kB / 0.6015 GB, free: 4.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.482, allocations: 15.94 kB / 0.6015 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.4825, allocations: 16 kB / 0.6015 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001477/0.4826, allocations: 64.2 kB / 0.6015 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.978e-05/0.4827, allocations: 47.98 kB / 0.6016 GB, free: 4.598 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006207/0.4833, allocations: 499 kB / 0.6021 GB, free: 4.113 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4833, allocations: 4.062 kB / 0.6021 GB, free: 4.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001095/0.4844, allocations: 283.7 kB / 0.6023 GB, free: 3.832 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.0006201/0.485, allocations: 350.9 kB / 0.6027 GB, free: 3.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002169/0.4872, allocations: 0.9168 MB / 0.6036 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4872, allocations: 0 / 0.6036 GB, free: 2.551 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001531/0.4887, allocations: 0.7331 MB / 0.6043 GB, free: 1.781 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008949/0.4896, allocations: 186.2 kB / 0.6045 GB, free: 1.605 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.493, allocations: 2.172 MB / 0.6066 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.4936, allocations: 0.5139 MB / 0.6071 GB, free: 14.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00089/0.4945, allocations: 305.7 kB / 0.6074 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.4949, allocations: 127.3 kB / 0.6075 GB, free: 14.39 MB / 462.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4949, allocations: 0 / 0.6075 GB, free: 14.39 MB / 462.1 MB Notification: Performance of Templates: time 0.03319/0.5281, allocations: 21.48 MB / 0.6285 GB, free: 9.074 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Examples.HeatingOfWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474235289992066] Failed to read output from testmodel.py, exit status != 0: 0.5373397099901922 0.55066551 0.159965303 Calling exit ...