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.001022/0.001022, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001091/0.001091, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9668/0.9668, allocations: 177.2 MB / 203.7 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.1041/0.1041, allocations: 17.46 MB / 277.7 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 2.254e-06/2.254e-06, allocations: 0 / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.634e-05, allocations: 6.312 kB / 354 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.007004/0.007031, allocations: 8.233 MB / 362.3 MB, free: 2.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01892/0.02595, allocations: 23.76 MB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.02718, allocations: 31.75 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.02823, allocations: 476.1 kB / 386.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004893/0.03313, allocations: 2.23 MB / 388.7 MB, free: 7.746 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006258/0.03938, allocations: 3.16 MB / 391.9 MB, free: 4.566 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.04224, allocations: 2.522 MB / 394.4 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/0.04357, allocations: 1.17 MB / 395.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001753/0.04532, allocations: 1.696 MB / 397.3 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001596/0.04692, allocations: 1.134 MB / 398.4 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003725/0.04729, allocations: 219.9 kB / 398.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004889/0.05218, allocations: 2.542 MB / 401.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004533/0.05263, allocations: 0.5295 MB / 401.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008184/0.05345, allocations: 0.7874 MB / 402.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008998/0.06245, allocations: 4.755 MB / 407.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.06245, allocations: 0 / 407.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.06246, allocations: 0 / 407.3 MB, free: 5.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.298e-05/0.0625, allocations: 0 / 407.3 MB, free: 5.129 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.004097/0.0666, allocations: 2.752 MB / 410 MB, free: 2.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.06664, allocations: 12.03 kB / 410 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/0.06841, allocations: 0.6769 MB / 410.7 MB, free: 1.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.06973, allocations: 0.9158 MB / 411.6 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.06989, allocations: 238.9 kB / 411.8 MB, free: 440 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/0.0704, allocations: 188.3 kB / 412 MB, free: 252 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.07252, allocations: 1.516 MB / 413.5 MB, free: 14.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.07255, allocations: 4.188 kB / 413.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.07269, allocations: 72.12 kB / 413.6 MB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.07273, allocations: 44 kB / 413.7 MB, free: 14.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/0.07481, allocations: 1.471 MB / 415.1 MB, free: 13.1 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.007424/0.08223, allocations: 5.006 MB / 420.1 MB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.08555, allocations: 2.534 MB / 422.7 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.08619, allocations: 0.4892 MB / 423.2 MB, free: 4.934 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00688/0.09307, allocations: 4.28 MB / 427.4 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.09312, allocations: 62.64 kB / 427.5 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 3.537e-06/0.09312, allocations: 0 / 427.5 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of matching and sorting (n=180): time 0.01543/0.1085, allocations: 5.131 MB / 432.6 MB, free: 11.37 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1086, allocations: 99.11 kB / 432.7 MB, free: 11.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000654/0.1093, allocations: 0.764 MB / 433.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003064/0.1096, allocations: 57.7 kB / 433.5 MB, free: 10.42 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004239/0.11, allocations: 0.8196 MB / 434.4 MB, free: 9.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004105/0.1104, allocations: 0.639 MB / 435 MB, free: 8.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004215/0.1108, allocations: 377 kB / 435.4 MB, free: 8.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.111, allocations: 0.5354 MB / 435.9 MB, free: 8.02 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004425/0.1114, allocations: 315.8 kB / 436.2 MB, free: 7.707 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008041/0.1122, allocations: 1.014 MB / 437.2 MB, free: 6.387 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.1137, allocations: 1.501 MB / 438.7 MB, free: 4.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.1137, allocations: 4 kB / 438.7 MB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.004155/0.1179, allocations: 1.893 MB / 440.6 MB, free: 2.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.1179, allocations: 12 kB / 440.6 MB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.1179, allocations: 16 kB / 440.7 MB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.1204, allocations: 0.6549 MB / 441.3 MB, free: 1.973 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.1215, allocations: 0.5188 MB / 441.8 MB, free: 1.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1392/0.2607, allocations: 8.607 MB / 450.4 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.2617, allocations: 65.55 kB / 450.5 MB, free: 109.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.2618, allocations: 83.25 kB / 450.6 MB, free: 109.2 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.0003889/0.2622, allocations: 283.6 kB / 450.9 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002508/0.2624, allocations: 197.2 kB / 451.1 MB, free: 109.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.2655, allocations: 1.842 MB / 452.9 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.2655, allocations: 18.12 kB / 452.9 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.2655, allocations: 3.375 kB / 452.9 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.2655, allocations: 6.797 kB / 452.9 MB, free: 109 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004082/0.2696, allocations: 2.845 MB / 455.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2696, allocations: 0 / 455.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009313/0.2705, allocations: 384 kB / 456.1 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.2729, allocations: 0.6499 MB / 456.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.273, allocations: 53.44 kB / 456.8 MB, free: 108.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004185/0.2772, allocations: 8.431 MB / 465.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2772, allocations: 7.469 kB / 465.3 MB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.2805, allocations: 2.2 MB / 467.5 MB, free: 100.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2807, allocations: 121.6 kB / 467.6 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.2808, allocations: 30.69 kB / 467.6 MB, free: 100 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.2812, allocations: 36.47 kB / 467.7 MB, free: 99.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.2814, allocations: 151.3 kB / 467.8 MB, free: 99.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.427e-05/0.2814, allocations: 55.08 kB / 467.9 MB, free: 99.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.2817, allocations: 428.1 kB / 468.3 MB, free: 99.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2817, allocations: 0 / 468.3 MB, free: 99.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001985/0.2837, allocations: 1.072 MB / 469.4 MB, free: 99.68 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.001492/0.2852, allocations: 1.273 MB / 470.6 MB, free: 99.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.2869, allocations: 1.876 MB / 472.5 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2869, allocations: 0 / 472.5 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008188/0.2877, allocations: 1.318 MB / 473.8 MB, free: 97.98 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009106/0.2886, allocations: 350.2 kB / 474.2 MB, free: 97.85 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.003466/0.2921, allocations: 2.821 MB / 477 MB, free: 96.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.2923, allocations: 312.2 kB / 477.3 MB, free: 96.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008337/0.2931, allocations: 325.8 kB / 477.6 MB, free: 96.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007084/0.2938, allocations: 0.528 MB / 478.1 MB, free: 96.15 MB / 410.7 MB Notification: Performance of SimCode: time 1.873e-06/0.2938, allocations: 0 / 478.1 MB, free: 96.15 MB / 410.7 MB Notification: Performance of Templates: time 0.04166/0.3355, allocations: 44.15 MB / 0.51 GB, free: 69.84 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.134221489075571]