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.001377/0.001377, allocations: 83.03 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001467/0.001467, allocations: 163.5 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.428/1.428, allocations: 177.1 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.1302/0.1302, allocations: 17.37 MB / 276.6 MB, free: 15.27 MB / 270.1 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.433e-06/1.433e-06, allocations: 0 / 412 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.638e-05, allocations: 2.281 kB / 412 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009428/0.009454, allocations: 7.416 MB / 419.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02771/0.03717, allocations: 21.32 MB / 440.7 MB, free: 7.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009806/0.03815, allocations: 27.75 kB / 440.7 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.0394, allocations: 480.1 kB / 441.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005882/0.04528, allocations: 2.222 MB / 443.4 MB, free: 4.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00823/0.05351, allocations: 3.153 MB / 446.6 MB, free: 1.652 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1707/0.2242, allocations: 2.518 MB / 449.1 MB, free: 17.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001733/0.2259, allocations: 1.128 MB / 450.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00238/0.2283, allocations: 1.687 MB / 451.9 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.2305, allocations: 1.103 MB / 453 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004337/0.2309, allocations: 214.5 kB / 453.2 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006651/0.2375, allocations: 2.549 MB / 455.8 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006886/0.2382, allocations: 0.5195 MB / 456.3 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.2399, allocations: 0.7889 MB / 457.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01194/0.2518, allocations: 5.559 MB / 462.6 MB, free: 16.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.2518, allocations: 5.25 kB / 462.6 MB, free: 16.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2518, allocations: 0 / 462.6 MB, free: 16.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.634e-05/0.2519, allocations: 7.453 kB / 462.6 MB, free: 16.82 MB / 366.1 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.005974/0.2579, allocations: 2.613 MB / 465.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2579, allocations: 9.781 kB / 465.3 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/0.2599, allocations: 429.4 kB / 465.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.2614, allocations: 0.9052 MB / 466.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/0.2615, allocations: 241 kB / 466.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/0.2618, allocations: 180.7 kB / 467 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.2651, allocations: 2.095 MB / 469.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.488e-05/0.2651, allocations: 192 / 469.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001771/0.2653, allocations: 68.06 kB / 469.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.763e-05/0.2653, allocations: 47.28 kB / 469.2 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/0.2688, allocations: 2.58 MB / 471.8 MB, free: 13.31 MB / 366.1 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.008833/0.2777, allocations: 5.236 MB / 477 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0039/0.2816, allocations: 2.539 MB / 479.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.2826, allocations: 0.8334 MB / 480.4 MB, free: 9.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008062/0.2907, allocations: 4.236 MB / 484.6 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.2907, allocations: 55.86 kB / 484.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=144): time 3.286e-06/0.2907, allocations: 0 / 484.7 MB, free: 5.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02936/0.3201, allocations: 6.739 MB / 491.4 MB, free: 14.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/0.3202, allocations: 95.11 kB / 491.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.3214, allocations: 0.747 MB / 492.3 MB, free: 13.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003797/0.3218, allocations: 53.7 kB / 492.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007854/0.3225, allocations: 0.7614 MB / 493.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.3236, allocations: 0.6276 MB / 493.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/0.3244, allocations: 359.5 kB / 494.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002309/0.3246, allocations: 357.9 kB / 494.4 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.3259, allocations: 0.617 MB / 495 MB, free: 10.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001797/0.3277, allocations: 1.125 MB / 496.1 MB, free: 9.344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003344/0.3311, allocations: 1.922 MB / 498.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/0.3311, allocations: 4 kB / 498.1 MB, free: 7.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.00821/0.3393, allocations: 2.467 MB / 0.4888 GB, free: 4.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/0.3393, allocations: 12 kB / 0.4888 GB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.09e-05/0.3393, allocations: 20.12 kB / 0.4888 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/0.3435, allocations: 470.9 kB / 0.4893 GB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.3461, allocations: 0.5266 MB / 0.4898 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/0.3581, allocations: 7.122 MB / 0.4968 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.3598, allocations: 63.98 kB / 0.4968 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/0.3601, allocations: 104 kB / 0.4969 GB, free: 12.25 MB / 398.1 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.001029/0.3612, allocations: 372.3 kB / 0.4973 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/0.3617, allocations: 131.2 kB / 0.4974 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/0.3705, allocations: 2.434 MB / 0.4998 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/0.3705, allocations: 20 kB / 0.4998 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.3706, allocations: 0 / 0.4998 GB, free: 9.324 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-05/0.3706, allocations: 19.84 kB / 0.4998 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.3818, allocations: 3.607 MB / 0.5033 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.3818, allocations: 0 / 0.5033 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002341/0.3842, allocations: 389.3 kB / 0.5037 GB, free: 5.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00412/0.3883, allocations: 457.9 kB / 0.5041 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002836/0.3886, allocations: 51.98 kB / 0.5042 GB, free: 4.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01136/0.3999, allocations: 6.946 MB / 0.511 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3999, allocations: 0 / 0.511 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.4105, allocations: 3.145 MB / 0.514 GB, free: 10.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007382/0.4112, allocations: 117.9 kB / 0.5142 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/0.4117, allocations: 35.98 kB / 0.5142 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.4129, allocations: 36 kB / 0.5142 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004382/0.4134, allocations: 153.7 kB / 0.5144 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002016/0.4136, allocations: 59.98 kB / 0.5144 GB, free: 9.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008011/0.4144, allocations: 471 kB / 0.5149 GB, free: 9.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4144, allocations: 0 / 0.5149 GB, free: 9.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004573/0.4189, allocations: 1.072 MB / 0.5159 GB, free: 8.445 MB / 414.1 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.004265/0.4232, allocations: 1.209 MB / 0.5171 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004969/0.4282, allocations: 2.15 MB / 0.5192 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4282, allocations: 0.625 kB / 0.5192 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.4307, allocations: 1.309 MB / 0.5205 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.433, allocations: 292 kB / 0.5208 GB, free: 3.633 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006751/0.4397, allocations: 3.07 MB / 0.5238 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.4408, allocations: 0.6929 MB / 0.5244 GB, free: 15.81 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001583/0.4424, allocations: 342.3 kB / 0.5248 GB, free: 15.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007139/0.4431, allocations: 244.3 kB / 0.525 GB, free: 15.24 MB / 430.1 MB Notification: Performance of SimCode: time 1.402e-06/0.4431, allocations: 0 / 0.525 GB, free: 15.24 MB / 430.1 MB Notification: Performance of Templates: time 0.06913/0.5123, allocations: 38.21 MB / 0.5623 GB, free: 9.414 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.452458098530769] Failed to read output from testmodel.py, exit status != 0: 0.5216779783368111 0.5372896629999999 0.28194808400000004 Calling exit ...