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.0009484/0.0009484, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.0009475/0.0009475, allocations: 169 kB / 23.49 MB, free: 1.059 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.9939/0.9939, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.09157/0.09157, allocations: 17.46 MB / 277.7 MB, free: 11.64 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.412e-06/1.412e-06, allocations: 0 / 353.6 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.815e-05, allocations: 2.312 kB / 353.6 MB, free: 10.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007233/0.007261, allocations: 8.354 MB / 361.9 MB, free: 1.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02014/0.0274, allocations: 24.33 MB / 386.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001166/0.02856, allocations: 31.75 kB / 386.3 MB, free: 9.312 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009854/0.02955, allocations: 472.1 kB / 386.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004615/0.03416, allocations: 2.234 MB / 389 MB, free: 6.598 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006267/0.04043, allocations: 3.156 MB / 392.1 MB, free: 3.422 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.04319, allocations: 2.518 MB / 394.7 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009723/0.04416, allocations: 1.174 MB / 395.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.04548, allocations: 1.693 MB / 397.5 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001338/0.04682, allocations: 1.134 MB / 398.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002524/0.04707, allocations: 216 kB / 398.9 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.05266, allocations: 2.546 MB / 401.4 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004638/0.05312, allocations: 0.5218 MB / 401.9 MB, free: 9.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.05421, allocations: 0.7991 MB / 402.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009418/0.06363, allocations: 4.747 MB / 407.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.06364, allocations: 0 / 407.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.06364, allocations: 0 / 407.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.218e-05/0.06366, allocations: 0 / 407.5 MB, free: 3.988 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.003489/0.06715, allocations: 2.748 MB / 410.2 MB, free: 1.188 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/0.0672, allocations: 8.031 kB / 410.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.06883, allocations: 0.6769 MB / 410.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1275/0.1963, allocations: 0.9216 MB / 411.8 MB, free: 61.42 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.1965, allocations: 239.3 kB / 412.1 MB, free: 61.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.1969, allocations: 185.1 kB / 412.3 MB, free: 61.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.1995, allocations: 1.67 MB / 413.9 MB, free: 61.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.1995, allocations: 5.281 kB / 413.9 MB, free: 61.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.1996, allocations: 73.41 kB / 414 MB, free: 61.12 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.101e-05/0.1997, allocations: 42.62 kB / 414 MB, free: 61.12 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.2024, allocations: 1.723 MB / 415.8 MB, free: 61.1 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.007082/0.2095, allocations: 5.152 MB / 420.9 MB, free: 58.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002967/0.2125, allocations: 2.666 MB / 423.6 MB, free: 58.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006714/0.2131, allocations: 0.5712 MB / 424.2 MB, free: 58.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005077/0.2182, allocations: 4.23 MB / 428.4 MB, free: 55.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.2182, allocations: 50.45 kB / 428.4 MB, free: 55.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.146e-06/0.2182, allocations: 1.719 kB / 428.4 MB, free: 55.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01437/0.2326, allocations: 5.886 MB / 434.3 MB, free: 49.69 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.2327, allocations: 103 kB / 434.4 MB, free: 49.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.2332, allocations: 0.7783 MB / 435.2 MB, free: 48.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.739e-05/0.2333, allocations: 53.7 kB / 435.3 MB, free: 48.73 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002548/0.2336, allocations: 0.8162 MB / 436.1 MB, free: 48 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003136/0.2339, allocations: 0.632 MB / 436.7 MB, free: 47.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.2342, allocations: 365.2 kB / 437.1 MB, free: 47.09 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.2343, allocations: 0.5355 MB / 437.6 MB, free: 46.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005388/0.2348, allocations: 399.8 kB / 438 MB, free: 46.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007128/0.2355, allocations: 1.1 MB / 439.1 MB, free: 44.75 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001379/0.2369, allocations: 1.664 MB / 440.8 MB, free: 42.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.2369, allocations: 4 kB / 440.8 MB, free: 42.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.003473/0.2404, allocations: 2.087 MB / 442.8 MB, free: 40.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.2404, allocations: 8 kB / 442.9 MB, free: 40.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.2404, allocations: 16 kB / 442.9 MB, free: 40.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002627/0.2431, allocations: 0.6621 MB / 443.5 MB, free: 39.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.2443, allocations: 0.5188 MB / 444 MB, free: 39.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004959/0.2492, allocations: 8.723 MB / 452.8 MB, free: 30.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/0.2502, allocations: 60 kB / 452.8 MB, free: 30.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.2503, allocations: 107.9 kB / 452.9 MB, free: 30.14 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.0004499/0.2507, allocations: 274.1 kB / 453.2 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/0.251, allocations: 195.2 kB / 453.4 MB, free: 29.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/0.2545, allocations: 2.012 MB / 455.4 MB, free: 27.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.2545, allocations: 16 kB / 455.4 MB, free: 27.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.2545, allocations: 7.938 kB / 455.4 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.2545, allocations: 11.95 kB / 455.4 MB, free: 27.62 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005995/0.2605, allocations: 3.172 MB / 458.6 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.2605, allocations: 0 / 458.6 MB, free: 24.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/0.2619, allocations: 387.5 kB / 459 MB, free: 24.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003249/0.2651, allocations: 0.6522 MB / 459.6 MB, free: 23.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/0.2652, allocations: 55.97 kB / 459.7 MB, free: 23.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.2704, allocations: 8.529 MB / 468.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.2704, allocations: 4.031 kB / 468.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004746/0.2751, allocations: 2.474 MB / 470.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.2754, allocations: 111.1 kB / 470.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.2755, allocations: 35.98 kB / 470.8 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005557/0.2761, allocations: 36 kB / 470.9 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002866/0.2764, allocations: 149.7 kB / 471 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.693e-05/0.2765, allocations: 67.97 kB / 471.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003774/0.2768, allocations: 450.9 kB / 471.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2768, allocations: 0 / 471.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002525/0.2794, allocations: 1.073 MB / 472.6 MB, free: 9.977 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.00174/0.2811, allocations: 1.213 MB / 473.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.2835, allocations: 2.029 MB / 475.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2835, allocations: 0.5625 kB / 475.9 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.2848, allocations: 1.408 MB / 477.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.286, allocations: 345.7 kB / 477.6 MB, free: 4.98 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.004295/0.2903, allocations: 2.87 MB / 480.5 MB, free: 2.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.2905, allocations: 309.7 kB / 480.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000979/0.2915, allocations: 337.7 kB / 481.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.2919, allocations: 244.3 kB / 481.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.2919, allocations: 0 / 481.3 MB, free: 1.172 MB / 330.7 MB Notification: Performance of Templates: time 0.04504/0.3369, allocations: 38.87 MB / 0.508 GB, free: 10.64 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.237936577992514]