Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.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.001923/0.001923, allocations: 107.4 kB / 16.45 MB, free: 6.5 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.002313/0.002313, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.1472/0.1472, allocations: 23.88 MB / 332.7 MB, free: 12.32 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.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [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.002189/0.002189, allocations: 63.91 kB / 466.5 MB, free: 9.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3491, allocations: 59.84 MB / 0.514 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008005/0.3571, allocations: 8.466 MB / 0.5223 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03108/0.3881, allocations: 24.29 MB / 0.546 GB, free: 1.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.3902, allocations: 32.78 kB / 0.5461 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.3922, allocations: 0.5055 MB / 0.5465 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008909/0.4011, allocations: 2.168 MB / 0.5487 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.4122, allocations: 3.036 MB / 0.5516 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005092/0.4173, allocations: 2.447 MB / 0.554 GB, free: 12.57 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.4192, allocations: 1.153 MB / 0.5551 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.4211, allocations: 1.227 MB / 0.5563 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002383/0.4235, allocations: 1.37 MB / 0.5577 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004065/0.4239, allocations: 215.5 kB / 0.5579 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01165/0.4355, allocations: 2.685 MB / 0.5605 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001206/0.4367, allocations: 0.5164 MB / 0.561 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002839/0.4396, allocations: 1.075 MB / 0.5621 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01473/0.4543, allocations: 5.248 MB / 0.5672 GB, free: 4.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4543, allocations: 0 / 0.5672 GB, free: 4.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4543, allocations: 0 / 0.5672 GB, free: 4.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.448e-05/0.4543, allocations: 0 / 0.5672 GB, free: 4.5 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.005653/0.46, allocations: 2.718 MB / 0.5698 GB, free: 1.719 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.46, allocations: 8.031 kB / 0.5698 GB, free: 1.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001899/0.4619, allocations: 423 kB / 0.5703 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.4636, allocations: 0.9677 MB / 0.5712 GB, free: 292 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.4638, allocations: 195.5 kB / 0.5714 GB, free: 84 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003408/0.4641, allocations: 180.4 kB / 0.5716 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.4678, allocations: 2.092 MB / 0.5736 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/0.4678, allocations: 3.984 kB / 0.5736 GB, free: 13.78 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.468, allocations: 68 kB / 0.5737 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.906e-05/0.468, allocations: 44 kB / 0.5737 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004442/0.4725, allocations: 2.608 MB / 0.5763 GB, free: 11.06 MB / 430.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.01259/0.4851, allocations: 6.663 MB / 0.5828 GB, free: 4.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005204/0.4903, allocations: 3.029 MB / 0.5857 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4917, allocations: 0.8275 MB / 0.5865 GB, free: 128 kB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01256/0.5043, allocations: 8.159 MB / 0.5945 GB, free: 7.035 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.5044, allocations: 59.73 kB / 0.5946 GB, free: 6.969 MB / 446.1 MB Notification: Performance of pre-optimization done (n=144): time 3.757e-06/0.5044, allocations: 0 / 0.5946 GB, free: 6.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=180): time 0.03112/0.5355, allocations: 7.036 MB / 0.6014 GB, free: 15.79 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.5356, allocations: 99.11 kB / 0.6015 GB, free: 15.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.5368, allocations: 0.7807 MB / 0.6023 GB, free: 14.87 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.537, allocations: 61.64 kB / 0.6023 GB, free: 14.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006479/0.5376, allocations: 0.7585 MB / 0.6031 GB, free: 14.03 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007208/0.5383, allocations: 0.6429 MB / 0.6037 GB, free: 13.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006218/0.539, allocations: 359.5 kB / 0.6041 GB, free: 13.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5391, allocations: 301.1 kB / 0.6043 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.5403, allocations: 0.6131 MB / 0.6049 GB, free: 12.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.5421, allocations: 1.141 MB / 0.6061 GB, free: 10.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/0.5454, allocations: 1.921 MB / 0.6079 GB, free: 8.605 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.5454, allocations: 4 kB / 0.6079 GB, free: 8.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008268/0.5537, allocations: 2.468 MB / 0.6103 GB, free: 6.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.5537, allocations: 15.12 kB / 0.6104 GB, free: 6.102 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.5538, allocations: 16 kB / 0.6104 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004007/0.5578, allocations: 483.4 kB / 0.6108 GB, free: 5.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.5605, allocations: 0.5149 MB / 0.6113 GB, free: 5.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01226/0.5728, allocations: 7.674 MB / 0.6188 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.5744, allocations: 72.05 kB / 0.6189 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002365/0.5747, allocations: 104 kB / 0.619 GB, free: 12.69 MB / 478.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.0007992/0.5755, allocations: 369.1 kB / 0.6194 GB, free: 12.32 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.5759, allocations: 139.1 kB / 0.6195 GB, free: 12.18 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008374/0.5842, allocations: 2.445 MB / 0.6219 GB, free: 9.723 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.5843, allocations: 20 kB / 0.6219 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5843, allocations: 0 / 0.6219 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.5843, allocations: 7.969 kB / 0.6219 GB, free: 9.695 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.595, allocations: 4.074 MB / 0.6259 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.595, allocations: 0 / 0.6259 GB, free: 5.551 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002223/0.5973, allocations: 391.5 kB / 0.6262 GB, free: 5.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00394/0.6012, allocations: 462.8 kB / 0.6267 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002381/0.6014, allocations: 55.98 kB / 0.6267 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.6128, allocations: 7.528 MB / 0.6341 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6128, allocations: 0 / 0.6341 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009418/0.6223, allocations: 3.14 MB / 0.6372 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005459/0.6228, allocations: 200.2 kB / 0.6374 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002315/0.623, allocations: 36 kB / 0.6374 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009247/0.624, allocations: 35.94 kB / 0.6374 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003818/0.6243, allocations: 149.7 kB / 0.6376 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/0.6245, allocations: 63.97 kB / 0.6376 GB, free: 8.906 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007801/0.6253, allocations: 0.504 MB / 0.6381 GB, free: 8.391 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6253, allocations: 0 / 0.6381 GB, free: 8.391 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003942/0.6292, allocations: 1.072 MB / 0.6392 GB, free: 7.316 MB / 494.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.002802/0.632, allocations: 1.179 MB / 0.6403 GB, free: 6.125 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004644/0.6367, allocations: 2.148 MB / 0.6424 GB, free: 3.93 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6367, allocations: 4 kB / 0.6424 GB, free: 3.926 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.6393, allocations: 1.299 MB / 0.6437 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.6413, allocations: 317.6 kB / 0.644 GB, free: 2.273 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006575/0.6479, allocations: 3.197 MB / 0.6471 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.649, allocations: 1.277 MB / 0.6484 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001592/0.6506, allocations: 354.5 kB / 0.6487 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.6512, allocations: 239.3 kB / 0.6489 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.673e-06/0.6512, allocations: 0 / 0.6489 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.0643/0.7155, allocations: 38.69 MB / 0.6867 GB, free: 6.621 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.742033040151] Failed to read output from testmodel.py, exit status != 0: 0.725276583340019 0.738895194 0.281377884 Calling exit ...