Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 250 MB, free: 3.215 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08763/0.08763, allocations: 15.54 MB / 320.6 MB, free: 13.18 MB / 254.1 MB [Timeout remaining time 90] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.WaterSelfIonization") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 70.59 kB / 448.6 MB, free: 46.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09317/0.09516, allocations: 56.56 MB / 0.4934 GB, free: 19.29 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.AcidBase.WaterSelfIonization): time 0.007412/0.1026, allocations: 8.44 MB / 0.5016 GB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02451/0.1271, allocations: 24.24 MB / 0.5253 GB, free: 4.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001383/0.1285, allocations: 19.88 kB / 0.5253 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001502/0.13, allocations: 0.5078 MB / 0.5258 GB, free: 4.184 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006797/0.1368, allocations: 2.157 MB / 0.5279 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008243/0.145, allocations: 3.037 MB / 0.5309 GB, free: 14.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003845/0.1489, allocations: 2.442 MB / 0.5332 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002007/0.1509, allocations: 1.149 MB / 0.5344 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.1533, allocations: 1.212 MB / 0.5355 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002331/0.1556, allocations: 1.367 MB / 0.5369 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.1561, allocations: 212 kB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008285/0.1644, allocations: 2.691 MB / 0.5397 GB, free: 5.816 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000806/0.1652, allocations: 0.5141 MB / 0.5402 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.1667, allocations: 1.073 MB / 0.5413 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01187/0.1786, allocations: 5.101 MB / 0.5462 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1786, allocations: 0 / 0.5462 GB, free: 15.1 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1786, allocations: 4 kB / 0.5462 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.192e-05/0.1787, allocations: 0 / 0.5462 GB, free: 15.1 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: 446 * Number of variables: 446 Notification: Performance of Generate backend data structure: time 0.005385/0.184, allocations: 2.718 MB / 0.5489 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1841, allocations: 8.031 kB / 0.5489 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.1859, allocations: 427 kB / 0.5493 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.1875, allocations: 0.9561 MB / 0.5503 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001784/0.1877, allocations: 191.5 kB / 0.5504 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003105/0.188, allocations: 192.3 kB / 0.5506 GB, free: 10.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.1915, allocations: 2.085 MB / 0.5527 GB, free: 8.387 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.1915, allocations: 3.938 kB / 0.5527 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000182/0.1917, allocations: 72 kB / 0.5527 GB, free: 8.312 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/0.1918, allocations: 44 kB / 0.5528 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.196, allocations: 2.608 MB / 0.5553 GB, free: 5.66 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.01161/0.2076, allocations: 6.644 MB / 0.5618 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005051/0.2127, allocations: 3.035 MB / 0.5648 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.2142, allocations: 0.8313 MB / 0.5656 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01187/0.2261, allocations: 8.159 MB / 0.5735 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/0.2261, allocations: 47.81 kB / 0.5736 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=144): time 3.457e-06/0.2261, allocations: 4 kB / 0.5736 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=180): time 0.03216/0.2583, allocations: 7.02 MB / 0.5805 GB, free: 10.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.439e-05/0.2584, allocations: 99.11 kB / 0.5805 GB, free: 10.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.2595, allocations: 0.7846 MB / 0.5813 GB, free: 9.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.2598, allocations: 57.7 kB / 0.5814 GB, free: 9.445 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006125/0.2604, allocations: 0.7584 MB / 0.5821 GB, free: 8.676 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006986/0.2611, allocations: 0.6429 MB / 0.5827 GB, free: 8.027 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005634/0.2617, allocations: 363.5 kB / 0.5831 GB, free: 7.664 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.2618, allocations: 301.1 kB / 0.5834 GB, free: 7.367 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.263, allocations: 0.6209 MB / 0.584 GB, free: 6.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.2646, allocations: 1.137 MB / 0.5851 GB, free: 5.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00317/0.2678, allocations: 1.921 MB / 0.587 GB, free: 3.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.809e-06/0.2678, allocations: 8 kB / 0.587 GB, free: 3.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008039/0.2758, allocations: 2.46 MB / 0.5894 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.481e-05/0.2759, allocations: 12 kB / 0.5894 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.2759, allocations: 16.84 kB / 0.5894 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004146/0.28, allocations: 474.8 kB / 0.5899 GB, free: 260 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002795/0.2828, allocations: 0.5227 MB / 0.5904 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.2951, allocations: 7.686 MB / 0.5979 GB, free: 7.496 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.2968, allocations: 60 kB / 0.5979 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/0.2971, allocations: 104 kB / 0.598 GB, free: 7.336 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (246): * Single equations (assignments): 242 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008466/0.2979, allocations: 377.1 kB / 0.5984 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.2984, allocations: 143.1 kB / 0.5985 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008187/0.3065, allocations: 2.43 MB / 0.6009 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.3066, allocations: 19.94 kB / 0.6009 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3066, allocations: 7.984 kB / 0.6009 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.793e-05/0.3066, allocations: 7.969 kB / 0.6009 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.3174, allocations: 4.066 MB / 0.6049 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.3174, allocations: 0 / 0.6049 GB, free: 196 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2322/0.5497, allocations: 390.8 kB / 0.6053 GB, free: 99.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004177/0.5538, allocations: 453.4 kB / 0.6057 GB, free: 99.12 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002961/0.5541, allocations: 53.41 kB / 0.6058 GB, free: 99.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00897/0.5631, allocations: 7.523 MB / 0.6131 GB, free: 93.24 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5631, allocations: 1.969 kB / 0.6131 GB, free: 93.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009126/0.5722, allocations: 3.136 MB / 0.6162 GB, free: 92.76 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003324/0.5726, allocations: 203.3 kB / 0.6164 GB, free: 92.66 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002011/0.5728, allocations: 33.03 kB / 0.6164 GB, free: 92.64 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009254/0.5737, allocations: 44.19 kB / 0.6164 GB, free: 92.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003507/0.5741, allocations: 138.3 kB / 0.6166 GB, free: 92.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/0.5742, allocations: 65.56 kB / 0.6166 GB, free: 92.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006715/0.5749, allocations: 0.5063 MB / 0.6171 GB, free: 92.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5749, allocations: 0 / 0.6171 GB, free: 92.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003309/0.5782, allocations: 1.077 MB / 0.6182 GB, free: 92.25 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (solution.temperature,H3O.logn,OH.logn,H2O.logn,solution1.temperature,H_.logn,OH_.logn,H2O_.logn) * 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 (178): * Single equations (assignments): 174 * 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): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002133/0.5803, allocations: 1.166 MB / 0.6193 GB, free: 92.1 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003732/0.584, allocations: 2.141 MB / 0.6214 GB, free: 91.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.584, allocations: 3.531 kB / 0.6214 GB, free: 91.09 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.586, allocations: 1.311 MB / 0.6227 GB, free: 90.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.5875, allocations: 307.5 kB / 0.623 GB, free: 90.23 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/0.5925, allocations: 3.233 MB / 0.6261 GB, free: 88.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.5931, allocations: 1.269 MB / 0.6274 GB, free: 87.94 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000727/0.5938, allocations: 317 kB / 0.6277 GB, free: 87.9 MB / 462.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5938, allocations: 3.938 kB / 0.6277 GB, free: 87.9 MB / 462.1 MB Notification: Performance of Templates: time 0.04637/0.6402, allocations: 54.65 MB / 0.6811 GB, free: 38.13 MB / 462.1 MB [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480]