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.00123/0.00123, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001358/0.001358, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 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 0.913/0.913, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.08746/0.08746, allocations: 17.46 MB / 277.4 MB, free: 11.56 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 7.875 kB / 353.6 MB, free: 9.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.747e-05, allocations: 2.312 kB / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.008213/0.008231, allocations: 8.405 MB / 362 MB, free: 1.395 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02464/0.03287, allocations: 24.49 MB / 386.5 MB, free: 8.812 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.03396, allocations: 35.75 kB / 386.5 MB, free: 8.777 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.03505, allocations: 472.1 kB / 387 MB, free: 8.312 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004839/0.03989, allocations: 2.238 MB / 389.2 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007082/0.04697, allocations: 3.156 MB / 392.3 MB, free: 2.883 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002552/0.04952, allocations: 2.518 MB / 394.9 MB, free: 360 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.05084, allocations: 1.174 MB / 396 MB, free: 15.13 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001772/0.05261, allocations: 1.7 MB / 397.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.05414, allocations: 1.126 MB / 398.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006046/0.05475, allocations: 216 kB / 399.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00557/0.06032, allocations: 2.55 MB / 401.6 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004122/0.06073, allocations: 0.5179 MB / 402.1 MB, free: 9.016 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007761/0.0615, allocations: 0.7913 MB / 402.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006906/0.06841, allocations: 4.758 MB / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.06841, allocations: 0 / 407.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.06841, allocations: 4 kB / 407.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.06844, allocations: 4 kB / 407.7 MB, free: 3.438 MB / 330.7 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.003638/0.07208, allocations: 2.737 MB / 410.4 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.07212, allocations: 8.031 kB / 410.4 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1179/0.1901, allocations: 0.6836 MB / 411.1 MB, free: 61.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00135/0.1914, allocations: 0.9142 MB / 412 MB, free: 61.58 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001339/0.1915, allocations: 241.8 kB / 412.3 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002384/0.1918, allocations: 183.7 kB / 412.5 MB, free: 61.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/0.1938, allocations: 1.671 MB / 414.1 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.1939, allocations: 192 / 414.1 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.194, allocations: 71.56 kB / 414.2 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.664e-05/0.194, allocations: 46.56 kB / 414.2 MB, free: 61.27 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002158/0.1961, allocations: 1.73 MB / 416 MB, free: 61.25 MB / 330.7 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.005252/0.2014, allocations: 5.147 MB / 421.1 MB, free: 58.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002483/0.2039, allocations: 2.671 MB / 423.8 MB, free: 58.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005645/0.2044, allocations: 0.571 MB / 424.4 MB, free: 58.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004282/0.2087, allocations: 4.228 MB / 428.6 MB, free: 55.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2087, allocations: 50.7 kB / 428.6 MB, free: 55.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 2.515e-06/0.2088, allocations: 0 / 428.6 MB, free: 55.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01232/0.2211, allocations: 5.892 MB / 434.5 MB, free: 49.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.2211, allocations: 99.11 kB / 434.6 MB, free: 49.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004382/0.2215, allocations: 0.776 MB / 435.4 MB, free: 48.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/0.2216, allocations: 53.7 kB / 435.5 MB, free: 48.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.2218, allocations: 0.815 MB / 436.3 MB, free: 47.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.222, allocations: 0.6388 MB / 436.9 MB, free: 47.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002757/0.2223, allocations: 372.9 kB / 437.3 MB, free: 46.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.2224, allocations: 0.5316 MB / 437.8 MB, free: 46.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.2228, allocations: 403.8 kB / 438.2 MB, free: 45.86 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.2234, allocations: 1.096 MB / 439.3 MB, free: 44.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.2246, allocations: 1.667 MB / 441 MB, free: 42.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.2246, allocations: 4 kB / 441 MB, free: 42.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003074/0.2277, allocations: 2.073 MB / 443 MB, free: 40.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.2277, allocations: 16.25 kB / 443.1 MB, free: 40.39 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.2277, allocations: 19.5 kB / 443.1 MB, free: 40.38 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002553/0.2303, allocations: 0.6648 MB / 443.7 MB, free: 39.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2314, allocations: 0.5227 MB / 444.3 MB, free: 39.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/0.2357, allocations: 8.71 MB / 453 MB, free: 30 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000504/0.2362, allocations: 63.98 kB / 453 MB, free: 29.94 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.2363, allocations: 101.3 kB / 453.1 MB, free: 29.84 MB / 330.7 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.0002746/0.2365, allocations: 280 kB / 453.4 MB, free: 29.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001856/0.2367, allocations: 195.1 kB / 453.6 MB, free: 29.37 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.2399, allocations: 2.007 MB / 455.6 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.2399, allocations: 20 kB / 455.6 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2399, allocations: 0 / 455.6 MB, free: 27.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.2399, allocations: 15.91 kB / 455.6 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.2441, allocations: 3.165 MB / 458.8 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2441, allocations: 4 kB / 458.8 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009368/0.245, allocations: 387.5 kB / 459.2 MB, free: 23.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.2475, allocations: 0.6485 MB / 459.8 MB, free: 23.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.249e-05/0.2476, allocations: 55.98 kB / 459.9 MB, free: 23.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003966/0.2515, allocations: 8.541 MB / 468.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2515, allocations: 0 / 468.4 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00346/0.255, allocations: 2.46 MB / 470.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.358e-05/0.2551, allocations: 115.1 kB / 471 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.489e-05/0.2552, allocations: 32 kB / 471 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003794/0.2556, allocations: 40 kB / 471.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.2557, allocations: 153.6 kB / 471.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.456e-05/0.2558, allocations: 71.97 kB / 471.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002626/0.2561, allocations: 450.9 kB / 471.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2561, allocations: 3.828 kB / 471.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001782/0.2578, allocations: 1.075 MB / 472.8 MB, free: 9.605 MB / 330.7 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.001144/0.259, allocations: 1.215 MB / 474 MB, free: 8.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001661/0.2606, allocations: 2.035 MB / 476.1 MB, free: 6.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.2606, allocations: 4 kB / 476.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008396/0.2615, allocations: 1.391 MB / 477.5 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007615/0.2622, allocations: 353.9 kB / 477.8 MB, free: 4.617 MB / 330.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.2652, allocations: 2.866 MB / 480.7 MB, free: 1.703 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.2654, allocations: 305.7 kB / 481 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006131/0.266, allocations: 341.9 kB / 481.3 MB, free: 1.047 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/0.2663, allocations: 236.3 kB / 481.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.2663, allocations: 3.719 kB / 481.5 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of Templates: time 0.0363/0.3026, allocations: 38.87 MB / 0.5082 GB, free: 10.28 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.148495452944189]