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.001337/0.001337, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.001687/0.001687, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9419/0.9419, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.08355/0.08355, allocations: 17.46 MB / 278.5 MB, free: 11.4 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.482e-06/1.482e-06, allocations: 0 / 354.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.462e-05/1.61e-05, allocations: 5.406 kB / 354.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.006289/0.006305, allocations: 8.229 MB / 363 MB, free: 2.324 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01776/0.02407, allocations: 23.76 MB / 386.8 MB, free: 10.47 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008617/0.02493, allocations: 31.75 kB / 386.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.02605, allocations: 472.1 kB / 387.3 MB, free: 9.977 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.02974, allocations: 2.23 MB / 389.5 MB, free: 7.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.03495, allocations: 3.164 MB / 392.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.03696, allocations: 2.526 MB / 395.2 MB, free: 2.008 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009225/0.03789, allocations: 1.166 MB / 396.4 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001163/0.03905, allocations: 1.693 MB / 398.1 MB, free: 15.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.04007, allocations: 1.134 MB / 399.2 MB, free: 13.97 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000208/0.04028, allocations: 216 kB / 399.4 MB, free: 13.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.04463, allocations: 2.546 MB / 402 MB, free: 11.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.04494, allocations: 0.5217 MB / 402.5 MB, free: 10.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005551/0.0455, allocations: 0.7913 MB / 403.3 MB, free: 9.891 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004502/0.05, allocations: 4.755 MB / 408 MB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.05, allocations: 0 / 408 MB, free: 5.117 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.05, allocations: 4 kB / 408 MB, free: 5.113 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.642e-05/0.05002, allocations: 0 / 408 MB, free: 5.113 MB / 378.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.002982/0.053, allocations: 2.752 MB / 410.8 MB, free: 2.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.05303, allocations: 8.031 kB / 410.8 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.05421, allocations: 0.6886 MB / 411.5 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009345/0.05515, allocations: 0.9119 MB / 412.4 MB, free: 0.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.05528, allocations: 242.9 kB / 412.6 MB, free: 416 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.05548, allocations: 184.3 kB / 412.8 MB, free: 232 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.05696, allocations: 1.508 MB / 414.3 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.05699, allocations: 4.125 kB / 414.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.05711, allocations: 76.12 kB / 414.4 MB, free: 14.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.504e-05/0.05713, allocations: 44 kB / 414.4 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.0589, allocations: 1.467 MB / 415.9 MB, free: 13.09 MB / 394.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.005323/0.06422, allocations: 5.006 MB / 420.9 MB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.06706, allocations: 2.542 MB / 423.5 MB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.06752, allocations: 489 kB / 423.9 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004883/0.07241, allocations: 4.236 MB / 428.2 MB, free: 0.6602 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.07243, allocations: 54.69 kB / 428.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 2.424e-06/0.07244, allocations: 0 / 428.2 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of matching and sorting (n=180): time 0.01245/0.08488, allocations: 5.134 MB / 433.4 MB, free: 11.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.08492, allocations: 95.11 kB / 433.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.08539, allocations: 0.7679 MB / 434.2 MB, free: 10.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.08546, allocations: 57.7 kB / 434.3 MB, free: 10.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003537/0.08581, allocations: 0.8235 MB / 435.1 MB, free: 9.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003349/0.08615, allocations: 0.6351 MB / 435.7 MB, free: 8.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003414/0.08649, allocations: 377 kB / 436.1 MB, free: 8.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.08663, allocations: 0.5354 MB / 436.6 MB, free: 8.023 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.08698, allocations: 307.8 kB / 436.9 MB, free: 7.719 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.08788, allocations: 1.022 MB / 438 MB, free: 6.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001137/0.08902, allocations: 1.501 MB / 439.5 MB, free: 4.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.08902, allocations: 4 kB / 439.5 MB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00321/0.09223, allocations: 1.885 MB / 441.4 MB, free: 2.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.09225, allocations: 16.25 kB / 441.4 MB, free: 2.664 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.09227, allocations: 16 kB / 441.4 MB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002532/0.0948, allocations: 0.6581 MB / 442 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.09593, allocations: 0.5227 MB / 442.6 MB, free: 1.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1293/0.2252, allocations: 8.595 MB / 451.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.2263, allocations: 61.03 kB / 451.2 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.2264, allocations: 88.41 kB / 451.3 MB, free: 109.3 MB / 410.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.0004079/0.2268, allocations: 278.7 kB / 451.6 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.2271, allocations: 203.4 kB / 451.8 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/0.2311, allocations: 1.836 MB / 453.6 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.2311, allocations: 19.22 kB / 453.6 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2311, allocations: 3.25 kB / 453.6 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.2311, allocations: 10.12 kB / 453.6 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005092/0.2362, allocations: 2.84 MB / 456.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2362, allocations: 0 / 456.5 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.2375, allocations: 390.6 kB / 456.9 MB, free: 108.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003279/0.2408, allocations: 0.6394 MB / 457.5 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.2409, allocations: 54.8 kB / 457.6 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004735/0.2457, allocations: 8.433 MB / 466 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.2457, allocations: 10.19 kB / 466 MB, free: 100.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003988/0.2497, allocations: 2.2 MB / 468.2 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.2498, allocations: 120 kB / 468.3 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.2499, allocations: 33.38 kB / 468.3 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.2504, allocations: 36.31 kB / 468.4 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002351/0.2507, allocations: 153.2 kB / 468.5 MB, free: 99.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-05/0.2508, allocations: 54.3 kB / 468.6 MB, free: 99.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000264/0.251, allocations: 429.1 kB / 469 MB, free: 99.81 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.251, allocations: 6.328 kB / 469 MB, free: 99.81 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002464/0.2535, allocations: 1.07 MB / 470.1 MB, free: 99.71 MB / 410.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.001534/0.255, allocations: 1.27 MB / 471.4 MB, free: 99.57 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.2568, allocations: 1.867 MB / 473.2 MB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.2568, allocations: 0 / 473.2 MB, free: 98.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009495/0.2577, allocations: 1.325 MB / 474.5 MB, free: 98.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007049/0.2648, allocations: 343.5 kB / 474.9 MB, free: 97.89 MB / 410.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009528/0.2743, allocations: 2.826 MB / 477.7 MB, free: 96.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.2745, allocations: 306.4 kB / 478 MB, free: 96.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008678/0.2754, allocations: 334.4 kB / 478.3 MB, free: 96.28 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006802/0.2822, allocations: 0.5264 MB / 478.9 MB, free: 96.19 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2822, allocations: 2.75 kB / 478.9 MB, free: 96.19 MB / 410.7 MB Notification: Performance of Templates: time 0.06475/0.3469, allocations: 44.69 MB / 0.5113 GB, free: 69.31 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.228784015867859]