Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.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.001837/0.001837, allocations: 80.3 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.002264/0.002264, allocations: 163 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.424/1.424, allocations: 177.2 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.129/0.129, allocations: 17.45 MB / 276.6 MB, free: 15.23 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.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 412.1 MB, free: 4.297 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.202e-05/2.356e-05, allocations: 2.281 kB / 412.1 MB, free: 4.293 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.AcidBase.Phosphate): time 0.03945/0.03948, allocations: 28.97 MB / 441.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1959/0.2354, allocations: 25.29 MB / 466.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001599/0.237, allocations: 35.34 kB / 466.4 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.2386, allocations: 0.5356 MB / 466.9 MB, free: 25.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00797/0.2466, allocations: 2.647 MB / 469.6 MB, free: 23.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009842/0.2564, allocations: 3.672 MB / 473.3 MB, free: 21.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003792/0.2602, allocations: 2.821 MB / 476.1 MB, free: 20.31 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/0.2619, allocations: 1.35 MB / 477.4 MB, free: 19.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.264, allocations: 1.96 MB / 479.4 MB, free: 18.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.2662, allocations: 1.358 MB / 480.7 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004934/0.2667, allocations: 249.2 kB / 481 MB, free: 17.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00886/0.2756, allocations: 3.023 MB / 484 MB, free: 16.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008377/0.2764, allocations: 0.6381 MB / 484.6 MB, free: 16.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001616/0.278, allocations: 0.897 MB / 485.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.2906, allocations: 6.511 MB / 492.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2906, allocations: 0 / 492.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2906, allocations: 0 / 492.1 MB, free: 8.797 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.231e-05/0.2906, allocations: 6.656 kB / 492.1 MB, free: 8.793 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005042/0.2957, allocations: 2.911 MB / 495 MB, free: 5.855 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2957, allocations: 14.69 kB / 495 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.2979, allocations: 470.8 kB / 495.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001542/0.2994, allocations: 1.042 MB / 496.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.2996, allocations: 357.8 kB / 496.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.2999, allocations: 188.3 kB / 497 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.3033, allocations: 2.532 MB / 499.6 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/0.3033, allocations: 192 / 499.6 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.3035, allocations: 72.38 kB / 499.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.3035, allocations: 47.94 kB / 499.7 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005033/0.3086, allocations: 3.189 MB / 0.4911 GB, free: 13.87 MB / 382.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.01432/0.3229, allocations: 6.901 MB / 0.4978 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009576/0.3324, allocations: 4.651 MB / 0.5024 GB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002267/0.3347, allocations: 1.153 MB / 0.5035 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01347/0.3482, allocations: 5.77 MB / 0.5091 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/0.3482, allocations: 52.75 kB / 0.5092 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001442/0.3497, allocations: 306.7 kB / 0.5095 GB, free: 10.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=158): time 5.04e-06/0.3497, allocations: 0 / 0.5095 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=187): time 0.03092/0.3806, allocations: 7.339 MB / 0.5166 GB, free: 3.637 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.3807, allocations: 80.05 kB / 0.5167 GB, free: 3.547 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.382, allocations: 0.8658 MB / 0.5175 GB, free: 2.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002176/0.3822, allocations: 53.7 kB / 0.5176 GB, free: 2.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000709/0.383, allocations: 0.8286 MB / 0.5184 GB, free: 1.762 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000694/0.3837, allocations: 0.6569 MB / 0.5191 GB, free: 1.102 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006576/0.3843, allocations: 407.9 kB / 0.5194 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3845, allocations: 305.1 kB / 0.5197 GB, free: 404 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.386, allocations: 0.7878 MB / 0.5205 GB, free: 15.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002144/0.3882, allocations: 1.375 MB / 0.5218 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003822/0.392, allocations: 2.36 MB / 0.5241 GB, free: 11.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/0.392, allocations: 4 kB / 0.5242 GB, free: 11.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01257/0.4046, allocations: 3.382 MB / 0.5275 GB, free: 8.008 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.4046, allocations: 12 kB / 0.5275 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.922e-05/0.4046, allocations: 21.38 kB / 0.5275 GB, free: 7.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004107/0.4087, allocations: 0.8211 MB / 0.5283 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002038/0.4108, allocations: 0.5174 MB / 0.5288 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/0.4168, allocations: 3.614 MB / 0.5323 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.4183, allocations: 75.92 kB / 0.5324 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.4185, allocations: 119.9 kB / 0.5325 GB, free: 2.672 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * 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 (268): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0008579/0.4194, allocations: 403.7 kB / 0.5329 GB, free: 2.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.4198, allocations: 147 kB / 0.533 GB, free: 2.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/0.433, allocations: 3.327 MB / 0.5363 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.433, allocations: 19.94 kB / 0.5363 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.433, allocations: 4 kB / 0.5363 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-05/0.433, allocations: 7.969 kB / 0.5363 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/0.4482, allocations: 4.747 MB / 0.541 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.4482, allocations: 0 / 0.541 GB, free: 10.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/0.4498, allocations: 366.2 kB / 0.5413 GB, free: 9.707 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003957/0.4537, allocations: 0.802 MB / 0.5421 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.4539, allocations: 63.95 kB / 0.5421 GB, free: 8.867 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005584/0.4595, allocations: 3.502 MB / 0.5456 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4595, allocations: 0 / 0.5456 GB, free: 5.176 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.4738, allocations: 4.237 MB / 0.5497 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.4742, allocations: 134.9 kB / 0.5498 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002651/0.4744, allocations: 32 kB / 0.5499 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.4755, allocations: 43.98 kB / 0.5499 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005564/0.476, allocations: 204.2 kB / 0.5501 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/0.4762, allocations: 79.94 kB / 0.5502 GB, free: 464 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.4771, allocations: 0.5319 MB / 0.5507 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4771, allocations: 0 / 0.5507 GB, free: 15.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003333/0.4804, allocations: 1.196 MB / 0.5519 GB, free: 14.71 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (solution.temperature,H.logn,H3PO4.logn,H2PO4.logn,HPO4.logn,PO4.logn,H2O.logn,OH.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 (190): * Single equations (assignments): 187 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00276/0.4831, allocations: 1.404 MB / 0.5532 GB, free: 13.37 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004968/0.4881, allocations: 2.344 MB / 0.5555 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4881, allocations: 0 / 0.5555 GB, free: 11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.4908, allocations: 1.308 MB / 0.5568 GB, free: 9.672 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.4923, allocations: 310.6 kB / 0.5571 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00674/0.4991, allocations: 3.282 MB / 0.5603 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008121/0.4999, allocations: 0.748 MB / 0.561 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001414/0.5013, allocations: 406.5 kB / 0.5614 GB, free: 5.074 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006802/0.502, allocations: 269.5 kB / 0.5617 GB, free: 4.812 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.502, allocations: 0 / 0.5617 GB, free: 4.812 MB / 446.1 MB Notification: Performance of Templates: time 0.07533/0.5773, allocations: 46.7 MB / 0.6073 GB, free: 6.543 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.399669103324413] Failed to read output from testmodel.py, exit status != 0: 0.5865128263831139 0.6015314380000001 0.307593375 Calling exit ...