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.0006716/0.0006716, allocations: 77.06 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.0022, allocations: 444 kB / 10.41 MB, free: 276 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.002548/0.002548, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002223/0.004771, allocations: 475.6 kB / 11.79 MB, free: 2.371 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.9676/0.9676, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08804/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.09175/0.09175, allocations: 17.44 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0111/0.1028, allocations: 6.967 MB / 268.6 MB, free: 6.293 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.683e-06/1.683e-06, allocations: 0 / 269.9 MB, free: 4.988 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.969e-05, allocations: 2.312 kB / 269.9 MB, free: 4.984 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.1445/0.1445, allocations: 8.361 MB / 278.2 MB, free: 1.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02297/0.1675, allocations: 24.3 MB / 302.5 MB, free: 1.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001525/0.169, allocations: 29.72 kB / 302.5 MB, free: 1.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.1704, allocations: 494.9 kB / 303 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008667/0.1791, allocations: 2.187 MB / 305.2 MB, free: 14.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00811/0.1872, allocations: 3.137 MB / 308.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003215/0.1904, allocations: 2.504 MB / 310.9 MB, free: 9.305 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001519/0.1919, allocations: 1.194 MB / 312.1 MB, free: 8.051 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/0.1941, allocations: 1.783 MB / 313.8 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001627/0.1958, allocations: 1.13 MB / 315 MB, free: 5.129 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005167/0.1963, allocations: 216 kB / 315.2 MB, free: 4.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006965/0.2032, allocations: 2.655 MB / 317.8 MB, free: 2.258 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006079/0.2038, allocations: 370.9 kB / 318.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.2052, allocations: 0.62 MB / 318.8 MB, free: 1.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01066/0.2158, allocations: 4.319 MB / 323.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496e-05/0.2158, allocations: 4 kB / 323.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2158, allocations: 0 / 323.1 MB, free: 12.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.825e-05/0.2159, allocations: 3.938 kB / 323.1 MB, free: 12.92 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.004485/0.2204, allocations: 3.321 MB / 326.5 MB, free: 9.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2204, allocations: 16.03 kB / 326.5 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.2222, allocations: 0.7141 MB / 327.2 MB, free: 8.816 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.2234, allocations: 0.7115 MB / 327.9 MB, free: 8.078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/0.2236, allocations: 238.9 kB / 328.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.2238, allocations: 188.3 kB / 328.3 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/0.2258, allocations: 1.536 MB / 329.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/0.2258, allocations: 4.188 kB / 329.9 MB, free: 6.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.226, allocations: 72.12 kB / 329.9 MB, free: 5.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.365e-05/0.226, allocations: 44 kB / 330 MB, free: 5.945 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.2278, allocations: 1.305 MB / 331.3 MB, free: 4.637 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.006693/0.2345, allocations: 4.116 MB / 335.4 MB, free: 432 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003391/0.2379, allocations: 2.516 MB / 337.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000637/0.2386, allocations: 428.9 kB / 338.3 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006447/0.245, allocations: 3.705 MB / 342 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.2451, allocations: 43.88 kB / 342.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of pre-optimization done (n=144): time 3.747e-06/0.2451, allocations: 4 kB / 342.1 MB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=174): time 0.01761/0.2627, allocations: 5.834 MB / 347.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.044e-05/0.2627, allocations: 99.05 kB / 348 MB, free: 3.676 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.2634, allocations: 0.6867 MB / 348.7 MB, free: 2.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/0.2635, allocations: 57.7 kB / 348.8 MB, free: 2.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/0.2638, allocations: 0.6703 MB / 349.4 MB, free: 2.234 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/0.2643, allocations: 0.6235 MB / 350 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.2648, allocations: 355.3 kB / 350.4 MB, free: 1.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2649, allocations: 365.8 kB / 350.8 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004494/0.2654, allocations: 250.7 kB / 351 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006653/0.266, allocations: 0.7776 MB / 351.8 MB, free: 15.65 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.2674, allocations: 1.305 MB / 353.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.2674, allocations: 5.312 kB / 353.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.003401/0.2708, allocations: 1.494 MB / 354.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.95e-05/0.2708, allocations: 12 kB / 354.6 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.2709, allocations: 16 kB / 354.6 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002906/0.2738, allocations: 0.651 MB / 355.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001717/0.2755, allocations: 0.6086 MB / 355.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004917/0.2804, allocations: 5.988 MB / 361.9 MB, free: 4.988 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009723/0.2814, allocations: 63.98 kB / 361.9 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.2815, allocations: 87.95 kB / 362 MB, free: 4.84 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 (240): * Single equations (assignments): 236 * 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.0004256/0.2819, allocations: 224.1 kB / 362.2 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.2822, allocations: 135.8 kB / 362.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.285, allocations: 1.54 MB / 363.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.285, allocations: 20 kB / 363.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.285, allocations: 0 / 363.9 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/0.285, allocations: 11.97 kB / 363.9 MB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003725/0.2887, allocations: 2.264 MB / 366.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.2887, allocations: 0 / 366.2 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.2898, allocations: 463.5 kB / 366.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002107/0.29, allocations: 111 kB / 366.8 MB, free: 32 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.2922, allocations: 0.6159 MB / 367.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.2924, allocations: 63.91 kB / 367.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004524/0.2969, allocations: 5.823 MB / 373.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.2969, allocations: 0 / 373.3 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002948/0.2998, allocations: 1.857 MB / 375.1 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001793/0.3, allocations: 32 kB / 375.1 MB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/0.3005, allocations: 39.98 kB / 375.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/0.3007, allocations: 137.7 kB / 375.3 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.471e-05/0.3007, allocations: 51.97 kB / 375.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.301, allocations: 304.5 kB / 375.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.301, allocations: 0 / 375.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002582/0.3036, allocations: 1.071 MB / 376.7 MB, free: 5.656 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 (172): * Single equations (assignments): 168 * 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.001983/0.3056, allocations: 1.266 MB / 378 MB, free: 4.391 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.3073, allocations: 1.562 MB / 379.6 MB, free: 2.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.436e-05/0.3074, allocations: 29.09 kB / 379.6 MB, free: 2.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009502/0.3083, allocations: 1.151 MB / 380.7 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/0.3097, allocations: 1.847 MB / 382.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.3212, allocations: 2.828 MB / 385.4 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.3214, allocations: 305.7 kB / 385.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009189/0.3223, allocations: 332.7 kB / 386 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007322/0.3231, allocations: 477 kB / 386.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3231, allocations: 0 / 386.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of Templates: time 0.1663/0.4894, allocations: 44.3 MB / 430.8 MB, free: 111.5 MB / 410.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.1139802653342485]