Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.0007057/0.0007057, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009623/0.001668, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007194/0.0007194, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009279/0.001647, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9294/0.9294, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07412/1.004, allocations: 53.65 MB / 243.2 MB, free: 15.61 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.08063/0.08063, allocations: 17.37 MB / 261.3 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009125/0.08976, allocations: 6.929 MB / 268.3 MB, free: 6.535 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") translateModel(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 269.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.429e-05, allocations: 2.312 kB / 269.5 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.1155/0.1155, allocations: 8.351 MB / 277.9 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02467/0.1401, allocations: 24.3 MB / 302.2 MB, free: 1.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.1414, allocations: 29.75 kB / 302.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1424, allocations: 494.7 kB / 302.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006611/0.1491, allocations: 2.193 MB / 304.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01091/0.16, allocations: 3.133 MB / 308 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003142/0.1631, allocations: 2.499 MB / 310.5 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.1645, allocations: 1.194 MB / 311.7 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001894/0.1664, allocations: 1.783 MB / 313.5 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001379/0.1678, allocations: 1.13 MB / 314.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000389/0.1682, allocations: 216 kB / 314.8 MB, free: 5.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006044/0.1742, allocations: 2.663 MB / 317.5 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004186/0.1747, allocations: 366.9 kB / 317.9 MB, free: 2.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.1757, allocations: 0.6161 MB / 318.5 MB, free: 1.668 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.1868, allocations: 4.323 MB / 322.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.746e-05/0.1869, allocations: 3.938 kB / 322.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1869, allocations: 0 / 322.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.933e-05/0.1869, allocations: 0 / 322.8 MB, free: 13.32 MB / 314.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.00393/0.1909, allocations: 3.317 MB / 326.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.1909, allocations: 12.02 kB / 326.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001392/0.1923, allocations: 0.7219 MB / 326.9 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1934, allocations: 0.7115 MB / 327.6 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.1935, allocations: 238.9 kB / 327.8 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.1937, allocations: 184.3 kB / 328 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001509/0.1952, allocations: 1.536 MB / 329.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.1952, allocations: 192 / 329.5 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1954, allocations: 76.12 kB / 329.6 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.618e-05/0.1954, allocations: 48 kB / 329.6 MB, free: 6.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.1968, allocations: 1.297 MB / 330.9 MB, free: 5.039 MB / 314.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.005096/0.2019, allocations: 4.124 MB / 335.1 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.2043, allocations: 2.52 MB / 337.6 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.2047, allocations: 427.5 kB / 338 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005135/0.2099, allocations: 3.697 MB / 341.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.2099, allocations: 51.88 kB / 341.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.356e-06/0.2099, allocations: 0 / 341.7 MB, free: 10.08 MB / 330.7 MB Notification: Performance of matching and sorting (n=180): time 0.01199/0.2219, allocations: 5.283 MB / 347 MB, free: 4.734 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.2219, allocations: 99.11 kB / 347.1 MB, free: 4.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.2224, allocations: 0.6828 MB / 347.8 MB, free: 3.926 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.136e-05/0.2225, allocations: 57.7 kB / 347.9 MB, free: 3.863 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002767/0.2228, allocations: 0.6704 MB / 348.5 MB, free: 3.184 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.2231, allocations: 0.6389 MB / 349.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.2234, allocations: 367.3 kB / 349.5 MB, free: 2.172 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.2235, allocations: 361.8 kB / 349.9 MB, free: 1.812 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/0.2239, allocations: 258.8 kB / 350.1 MB, free: 1.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.2244, allocations: 0.7818 MB / 350.9 MB, free: 0.543 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.2255, allocations: 1.278 MB / 352.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.2255, allocations: 5.25 kB / 352.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.002448/0.2279, allocations: 1.509 MB / 353.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.2279, allocations: 12 kB / 353.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/0.228, allocations: 16 kB / 353.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002128/0.2301, allocations: 0.6514 MB / 354.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.2313, allocations: 0.6281 MB / 355 MB, free: 12.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/0.236, allocations: 5.979 MB / 361 MB, free: 5.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.2368, allocations: 60 kB / 361.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.2369, allocations: 87.97 kB / 361.1 MB, free: 5.734 MB / 346.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.000396/0.2373, allocations: 236 kB / 361.4 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.2375, allocations: 143.8 kB / 361.5 MB, free: 5.352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.2402, allocations: 1.556 MB / 363.1 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.2402, allocations: 20 kB / 363.1 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2402, allocations: 3.938 kB / 363.1 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2402, allocations: 15.95 kB / 363.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.2439, allocations: 2.268 MB / 365.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.2439, allocations: 4 kB / 365.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.245, allocations: 475.4 kB / 365.8 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.2451, allocations: 115.1 kB / 366 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002155/0.2473, allocations: 0.6237 MB / 366.6 MB, free: 224 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.2474, allocations: 51.98 kB / 366.6 MB, free: 172 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.2516, allocations: 5.837 MB / 372.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.2516, allocations: 0 / 372.5 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.2545, allocations: 1.885 MB / 374.4 MB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/0.2547, allocations: 32 kB / 374.4 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.2551, allocations: 32 kB / 374.4 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001991/0.2553, allocations: 145.7 kB / 374.6 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/0.2554, allocations: 55.97 kB / 374.6 MB, free: 7.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000235/0.2556, allocations: 304.5 kB / 374.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2556, allocations: 0 / 374.9 MB, free: 7.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002195/0.2578, allocations: 1.075 MB / 376 MB, free: 6.441 MB / 362.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.001563/0.2594, allocations: 1.274 MB / 377.3 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.261, allocations: 1.548 MB / 378.8 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-05/0.2611, allocations: 28.42 kB / 378.8 MB, free: 3.551 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00079/0.2619, allocations: 1.053 MB / 379.9 MB, free: 2.441 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008797/0.2627, allocations: 489.3 kB / 380.4 MB, free: 1.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.2738, allocations: 2.864 MB / 383.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002356/0.274, allocations: 305.9 kB / 383.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.275, allocations: 329.5 kB / 383.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007545/0.2758, allocations: 489 kB / 384.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of SimCode: time 1.894e-06/0.2758, allocations: 0 / 384.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of Templates: time 0.04414/0.3199, allocations: 44.7 MB / 429 MB, free: 1.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.767962229438126]