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.001318/0.001318, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001337/0.001337, allocations: 177 kB / 23.36 MB, free: 1.137 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.9368/0.9368, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.08283/0.08283, allocations: 17.46 MB / 277.7 MB, free: 11.44 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.052e-06/1.052e-06, allocations: 0 / 300.8 MB, free: 1.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.338e-06/1.039e-05, allocations: 8.484 kB / 300.8 MB, free: 1.762 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.00633/0.006341, allocations: 8.301 MB / 309.1 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.02401, allocations: 24.12 MB / 333.2 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/0.02455, allocations: 31.75 kB / 333.2 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007754/0.02532, allocations: 492 kB / 333.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002996/0.02832, allocations: 2.203 MB / 335.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004847/0.03317, allocations: 3.129 MB / 339.1 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.03503, allocations: 2.516 MB / 341.6 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.03592, allocations: 1.193 MB / 342.8 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.03708, allocations: 1.681 MB / 344.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.03812, allocations: 1.122 MB / 345.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.03832, allocations: 216 kB / 345.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004023/0.04235, allocations: 2.655 MB / 348.4 MB, free: 4.242 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00031/0.04266, allocations: 0.5218 MB / 349 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.0433, allocations: 0.7913 MB / 349.7 MB, free: 2.926 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.05505, allocations: 4.751 MB / 354.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.05505, allocations: 0 / 354.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.05505, allocations: 0 / 354.5 MB, free: 14.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.05506, allocations: 0 / 354.5 MB, free: 14.15 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.006197/0.06126, allocations: 2.617 MB / 357.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.06129, allocations: 8.031 kB / 357.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.06586, allocations: 0.6388 MB / 357.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.06696, allocations: 0.7154 MB / 358.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.06711, allocations: 238.9 kB / 358.7 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.06735, allocations: 180.3 kB / 358.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004862/0.07222, allocations: 1.539 MB / 360.4 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.07225, allocations: 192 / 360.4 MB, free: 8.09 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.07238, allocations: 76.12 kB / 360.5 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.07242, allocations: 44 kB / 360.5 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/0.07727, allocations: 1.301 MB / 361.8 MB, free: 6.668 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.01217/0.08944, allocations: 4.108 MB / 366 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006281/0.09572, allocations: 2.515 MB / 368.5 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000551/0.09627, allocations: 436.2 kB / 368.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.108, allocations: 3.849 MB / 372.7 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.108, allocations: 51.88 kB / 372.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=144): time 3.467e-06/0.108, allocations: 0 / 372.8 MB, free: 11.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=180): time 0.01247/0.1205, allocations: 5.262 MB / 378.1 MB, free: 6.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.1205, allocations: 103 kB / 378.2 MB, free: 6.125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1209, allocations: 0.6945 MB / 378.8 MB, free: 5.422 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.121, allocations: 53.7 kB / 378.9 MB, free: 5.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002523/0.1213, allocations: 0.6743 MB / 379.6 MB, free: 4.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003096/0.1216, allocations: 0.635 MB / 380.2 MB, free: 4.035 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003638/0.1219, allocations: 367.3 kB / 380.6 MB, free: 3.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.616e-05/0.122, allocations: 361.8 kB / 380.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003239/0.1223, allocations: 266.7 kB / 381.2 MB, free: 3.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.1229, allocations: 0.774 MB / 382 MB, free: 2.039 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1239, allocations: 1.278 MB / 383.2 MB, free: 0.543 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.1239, allocations: 4 kB / 383.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00264/0.1266, allocations: 1.513 MB / 384.8 MB, free: 15.01 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1266, allocations: 12 kB / 384.8 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.1266, allocations: 16 kB / 384.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/0.129, allocations: 0.6317 MB / 385.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.1303, allocations: 0.5734 MB / 386 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004754/0.135, allocations: 5.996 MB / 392 MB, free: 7.426 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005198/0.1355, allocations: 67.98 kB / 392 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/0.1356, allocations: 75.98 kB / 392.1 MB, free: 7.285 MB / 362.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.0002913/0.1359, allocations: 240 kB / 392.4 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.1361, allocations: 139.8 kB / 392.5 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/0.139, allocations: 1.56 MB / 394.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.139, allocations: 20 kB / 394.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.139, allocations: 0 / 394.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.139, allocations: 11.95 kB / 394.1 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003756/0.1428, allocations: 2.261 MB / 396.3 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1428, allocations: 0 / 396.3 MB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.1438, allocations: 443.4 kB / 396.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.1461, allocations: 0.6237 MB / 397.4 MB, free: 1.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.1462, allocations: 55.97 kB / 397.5 MB, free: 1.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.1504, allocations: 5.823 MB / 403.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1504, allocations: 0 / 403.3 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.1532, allocations: 1.877 MB / 405.2 MB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.028e-05/0.1533, allocations: 115.1 kB / 405.3 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.1534, allocations: 32 kB / 405.3 MB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003514/0.1538, allocations: 36 kB / 405.3 MB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004241/0.1542, allocations: 149.9 kB / 405.5 MB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.758e-05/0.1542, allocations: 51.98 kB / 405.5 MB, free: 9.441 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001893/0.1544, allocations: 304.5 kB / 405.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1544, allocations: 0 / 405.8 MB, free: 9.141 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001935/0.1564, allocations: 1.079 MB / 406.9 MB, free: 8.059 MB / 378.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.001338/0.1577, allocations: 1.262 MB / 408.2 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001345/0.1591, allocations: 1.548 MB / 409.7 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.079e-05/0.1591, allocations: 21.81 kB / 409.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007495/0.1598, allocations: 1.045 MB / 410.8 MB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007496/0.1606, allocations: 345.1 kB / 411.1 MB, free: 3.75 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.1638, allocations: 2.784 MB / 413.9 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.164, allocations: 309.8 kB / 414.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006888/0.1647, allocations: 331.2 kB / 414.5 MB, free: 280 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/0.1654, allocations: 489 kB / 415 MB, free: 15.79 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1654, allocations: 0 / 415 MB, free: 15.79 MB / 394.7 MB Notification: Performance of Templates: time 0.1553/0.3207, allocations: 44.01 MB / 459 MB, free: 126.8 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.013296500314027]