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.00137/0.00137, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.00164/0.00164, allocations: 164.5 kB / 22.46 MB, free: 5.359 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.436/1.436, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1316/0.1316, allocations: 17.45 MB / 276.6 MB, free: 15.22 MB / 270.1 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.433e-06/1.433e-06, allocations: 0 / 412.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.725e-05, allocations: 2.281 kB / 412.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization): time 0.009725/0.009752, allocations: 7.409 MB / 419.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02937/0.03913, allocations: 21.32 MB / 440.8 MB, free: 7.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.04048, allocations: 27.75 kB / 440.9 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001377/0.04185, allocations: 480.1 kB / 441.3 MB, free: 6.93 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.04825, allocations: 2.23 MB / 443.6 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008603/0.05686, allocations: 3.149 MB / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.1639/0.2208, allocations: 2.523 MB / 449.2 MB, free: 17.72 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.2223, allocations: 1.124 MB / 450.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.2244, allocations: 1.692 MB / 452.1 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00196/0.2264, allocations: 1.098 MB / 453.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000432/0.2268, allocations: 220 kB / 453.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.2329, allocations: 2.546 MB / 455.9 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005603/0.2334, allocations: 0.5199 MB / 456.4 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001239/0.2347, allocations: 0.7881 MB / 457.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009224/0.2439, allocations: 5.556 MB / 462.8 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2439, allocations: 5.031 kB / 462.8 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2439, allocations: 0 / 462.8 MB, free: 16.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.257e-05/0.2439, allocations: 0 / 462.8 MB, free: 16.81 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.004853/0.2488, allocations: 2.617 MB / 465.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.2488, allocations: 10.31 kB / 465.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.2506, allocations: 426.6 kB / 465.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.252, allocations: 0.9109 MB / 466.7 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.2522, allocations: 242.4 kB / 467 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/0.2524, allocations: 182.3 kB / 467.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003004/0.2554, allocations: 2.088 MB / 469.2 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.695e-05/0.2555, allocations: 4.188 kB / 469.2 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.2556, allocations: 68.44 kB / 469.3 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.2557, allocations: 44.59 kB / 469.4 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/0.2591, allocations: 2.585 MB / 471.9 MB, free: 13.27 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.008245/0.2674, allocations: 5.224 MB / 477.2 MB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003936/0.2713, allocations: 2.534 MB / 479.7 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.2724, allocations: 0.8297 MB / 480.5 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007908/0.2803, allocations: 4.25 MB / 484.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.2803, allocations: 47.88 kB / 484.8 MB, free: 4.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=144): time 3.487e-06/0.2803, allocations: 0 / 484.8 MB, free: 4.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=180): time 0.02916/0.3095, allocations: 6.744 MB / 491.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.3096, allocations: 99.11 kB / 491.7 MB, free: 14.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.3106, allocations: 0.7392 MB / 492.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.3107, allocations: 57.7 kB / 492.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.3113, allocations: 0.7674 MB / 493.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006156/0.312, allocations: 0.627 MB / 493.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006098/0.3126, allocations: 363.5 kB / 494.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.3128, allocations: 353.9 kB / 494.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.314, allocations: 0.617 MB / 495.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.3157, allocations: 1.132 MB / 496.3 MB, free: 9.156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/0.3189, allocations: 1.915 MB / 498.2 MB, free: 7.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3189, allocations: 11.28 kB / 498.2 MB, free: 7.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008157/0.3271, allocations: 2.462 MB / 0.489 GB, free: 4.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.3271, allocations: 15.12 kB / 0.489 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.3272, allocations: 19.94 kB / 0.489 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004163/0.3313, allocations: 467.5 kB / 0.4894 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.334, allocations: 0.5226 MB / 0.4899 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/0.3461, allocations: 7.131 MB / 0.4969 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.3476, allocations: 60 kB / 0.497 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000209/0.3478, allocations: 108 kB / 0.4971 GB, free: 12.07 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.0008313/0.3486, allocations: 373.5 kB / 0.4974 GB, free: 11.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003537/0.349, allocations: 135.2 kB / 0.4976 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008444/0.3574, allocations: 2.422 MB / 0.4999 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.3574, allocations: 16 kB / 0.4999 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3575, allocations: 4 kB / 0.4999 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.3575, allocations: 19.91 kB / 0.5 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01039/0.3679, allocations: 3.595 MB / 0.5035 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.3679, allocations: 0 / 0.5035 GB, free: 5.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0023/0.3702, allocations: 397 kB / 0.5038 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003915/0.3741, allocations: 454.6 kB / 0.5043 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000255/0.3744, allocations: 59.91 kB / 0.5043 GB, free: 4.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.3856, allocations: 6.939 MB / 0.5111 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3856, allocations: 7.531 kB / 0.5111 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009206/0.3948, allocations: 3.133 MB / 0.5142 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.3951, allocations: 119 kB / 0.5143 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002073/0.3953, allocations: 36 kB / 0.5143 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009168/0.3963, allocations: 43.98 kB / 0.5144 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003737/0.3966, allocations: 153.3 kB / 0.5145 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.3968, allocations: 67.97 kB / 0.5146 GB, free: 9.797 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006621/0.3974, allocations: 471 kB / 0.515 GB, free: 9.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3974, allocations: 0 / 0.515 GB, free: 9.336 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003482/0.4009, allocations: 1.064 MB / 0.5161 GB, free: 8.27 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.002588/0.4035, allocations: 1.222 MB / 0.5173 GB, free: 7.191 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00421/0.4077, allocations: 2.137 MB / 0.5193 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4077, allocations: 4 kB / 0.5194 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.41, allocations: 1.301 MB / 0.5206 GB, free: 3.746 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.4116, allocations: 303.8 kB / 0.5209 GB, free: 3.453 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.4173, allocations: 3.067 MB / 0.5239 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008169/0.4181, allocations: 0.6929 MB / 0.5246 GB, free: 15.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001292/0.4194, allocations: 340.4 kB / 0.5249 GB, free: 15.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006147/0.42, allocations: 240.3 kB / 0.5251 GB, free: 15.07 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.42, allocations: 4 kB / 0.5251 GB, free: 15.07 MB / 430.1 MB Notification: Performance of Templates: time 0.06431/0.4843, allocations: 38.21 MB / 0.5625 GB, free: 9.238 MB / 462.1 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.WaterSelfIonization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.310791365802288] Failed to read output from testmodel.py, exit status != 0: 0.4932997114956379 0.5082659749999999 0.26096406499999997 Calling exit ...