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.002343/0.002343, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.002575/0.002575, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.633 MB / 186.7 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.1494/0.1494, allocations: 17.44 MB / 277 MB, free: 11.62 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.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.813e-06/1.813e-06, allocations: 0 / 352.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.065e-05, allocations: 10.25 kB / 352.8 MB, free: 10.2 MB / 282.7 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.04551/0.04554, allocations: 30.14 MB / 383 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2093/0.2548, allocations: 28.88 MB / 411.9 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.2562, allocations: 34.47 kB / 411.9 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001548/0.2577, allocations: 0.5281 MB / 412.4 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007144/0.2649, allocations: 2.647 MB / 415.1 MB, free: 31.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008676/0.2735, allocations: 3.676 MB / 418.7 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003714/0.2773, allocations: 2.812 MB / 421.6 MB, free: 30.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.2791, allocations: 1.418 MB / 423 MB, free: 29.96 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002581/0.2817, allocations: 1.956 MB / 424.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.2841, allocations: 1.385 MB / 426.3 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000498/0.2846, allocations: 254.9 kB / 426.6 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008291/0.2929, allocations: 3.013 MB / 429.6 MB, free: 29.22 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.2935, allocations: 0.6356 MB / 430.2 MB, free: 28.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.2947, allocations: 0.9035 MB / 431.1 MB, free: 28.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01138/0.3061, allocations: 6.527 MB / 437.6 MB, free: 25.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3061, allocations: 0 / 437.6 MB, free: 25.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3061, allocations: 2.688 kB / 437.6 MB, free: 25.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.066e-05/0.3062, allocations: 0 / 437.6 MB, free: 25.12 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.005486/0.3117, allocations: 3.15 MB / 440.8 MB, free: 23.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3117, allocations: 9.781 kB / 440.8 MB, free: 23.03 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.314, allocations: 0.7647 MB / 441.6 MB, free: 22.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.3158, allocations: 1.06 MB / 442.6 MB, free: 21.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.3159, allocations: 350.3 kB / 443 MB, free: 21.62 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003/0.3162, allocations: 196.8 kB / 443.2 MB, free: 21.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/0.3196, allocations: 2.548 MB / 445.7 MB, free: 19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.007e-05/0.3196, allocations: 192 / 445.7 MB, free: 19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001963/0.3198, allocations: 76.38 kB / 445.8 MB, free: 18.92 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.3198, allocations: 50.59 kB / 445.8 MB, free: 18.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.3239, allocations: 3.064 MB / 448.9 MB, free: 15.82 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.01228/0.3362, allocations: 7.709 MB / 456.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008039/0.3442, allocations: 4.518 MB / 461.1 MB, free: 3.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.346, allocations: 1.062 MB / 462.2 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01334/0.3593, allocations: 6.018 MB / 468.2 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.3594, allocations: 50.7 kB / 468.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001474/0.3609, allocations: 304.9 kB / 468.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 4.909e-06/0.3609, allocations: 2.719 kB / 468.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.03132/0.3922, allocations: 7.198 MB / 475.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.3923, allocations: 73.41 kB / 475.8 MB, free: 5.102 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/0.3938, allocations: 1.079 MB / 476.9 MB, free: 4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003355/0.3942, allocations: 57.7 kB / 477 MB, free: 3.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000834/0.395, allocations: 0.9261 MB / 477.9 MB, free: 3.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008658/0.3959, allocations: 0.6959 MB / 478.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008104/0.3967, allocations: 473.8 kB / 479 MB, free: 1.848 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002492/0.3969, allocations: 482 kB / 479.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.3985, allocations: 0.7383 MB / 480.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.4011, allocations: 1.613 MB / 481.9 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.4054, allocations: 2.634 MB / 484.5 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-05/0.4054, allocations: 7.984 kB / 484.5 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01273/0.4182, allocations: 3.346 MB / 487.9 MB, free: 8.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.4182, allocations: 16.53 kB / 487.9 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.109e-05/0.4182, allocations: 20 kB / 487.9 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005491/0.4237, allocations: 0.929 MB / 488.8 MB, free: 7.641 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.4261, allocations: 0.5199 MB / 489.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007406/0.4335, allocations: 4.845 MB / 494.2 MB, free: 2.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.4356, allocations: 67.98 kB / 494.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003482/0.436, allocations: 128.7 kB / 494.4 MB, free: 1.922 MB / 362.7 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.001006/0.437, allocations: 440 kB / 494.8 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005873/0.4376, allocations: 207 kB / 495 MB, free: 1.312 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/0.4505, allocations: 3.184 MB / 498.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-05/0.4506, allocations: 16 kB / 498.2 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.4506, allocations: 4 kB / 498.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.507e-05/0.4506, allocations: 7.969 kB / 498.2 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/0.4673, allocations: 4.86 MB / 0.4913 GB, free: 9.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4673, allocations: 4 kB / 0.4913 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/0.4695, allocations: 364 kB / 0.4916 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005193/0.4747, allocations: 0.9176 MB / 0.4925 GB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002637/0.4749, allocations: 67.95 kB / 0.4926 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.4815, allocations: 4.73 MB / 0.4972 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4815, allocations: 0 / 0.4972 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.4957, allocations: 4.126 MB / 0.5012 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004282/0.4962, allocations: 131 kB / 0.5014 GB, free: 14.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.4964, allocations: 36 kB / 0.5014 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009534/0.4974, allocations: 39.98 kB / 0.5014 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005468/0.4979, allocations: 209.6 kB / 0.5016 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.4981, allocations: 79.95 kB / 0.5017 GB, free: 14.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009142/0.499, allocations: 0.6073 MB / 0.5023 GB, free: 13.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.499, allocations: 2.625 kB / 0.5023 GB, free: 13.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003522/0.5025, allocations: 1.188 MB / 0.5035 GB, free: 12.67 MB / 394.7 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.002788/0.5053, allocations: 1.412 MB / 0.5049 GB, free: 11.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005377/0.5107, allocations: 2.514 MB / 0.5073 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5107, allocations: 0 / 0.5073 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002901/0.5136, allocations: 1.49 MB / 0.5088 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/0.5153, allocations: 363.5 kB / 0.5091 GB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007155/0.5224, allocations: 3.325 MB / 0.5124 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008908/0.5233, allocations: 0.7375 MB / 0.5131 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001784/0.5251, allocations: 396 kB / 0.5135 GB, free: 2.871 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000707/0.5258, allocations: 265.3 kB / 0.5137 GB, free: 2.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5258, allocations: 2.688 kB / 0.5137 GB, free: 2.617 MB / 394.7 MB Notification: Performance of Templates: time 0.0808/0.6066, allocations: 47.2 MB / 0.5598 GB, free: 4.184 MB / 442.7 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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.116034582955763]