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.001788/0.001788, allocations: 88.72 kB / 19.44 MB, free: 356 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.002323/0.002323, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.457/1.457, allocations: 177.1 MB / 203.1 MB, free: 5.613 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.1503/0.1503, allocations: 17.46 MB / 277 MB, free: 11.6 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.683e-06/1.683e-06, allocations: 0 / 352.8 MB, free: 10.2 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.399e-05, allocations: 6.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.0442/0.04424, allocations: 29.14 MB / 382 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04006/0.0843, allocations: 25.3 MB / 407.3 MB, free: 3.793 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.08561, allocations: 31.75 kB / 407.3 MB, free: 3.762 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.0875, allocations: 0.527 MB / 407.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.0958, allocations: 2.645 MB / 410.5 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1454/0.2412, allocations: 3.671 MB / 414.1 MB, free: 33.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003659/0.2449, allocations: 2.808 MB / 417 MB, free: 33.05 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001959/0.2469, allocations: 1.425 MB / 418.4 MB, free: 32.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00243/0.2493, allocations: 1.956 MB / 420.3 MB, free: 32.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001935/0.2512, allocations: 1.357 MB / 421.7 MB, free: 32.76 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003992/0.2516, allocations: 250.7 kB / 421.9 MB, free: 32.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007218/0.2588, allocations: 3.027 MB / 425 MB, free: 32.62 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.2595, allocations: 0.6303 MB / 425.6 MB, free: 32.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.2607, allocations: 0.9036 MB / 426.5 MB, free: 32.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01021/0.2709, allocations: 6.516 MB / 433 MB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2709, allocations: 3.469 kB / 433 MB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2709, allocations: 0 / 433 MB, free: 29.98 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.6e-05/0.271, allocations: 0 / 433 MB, free: 29.98 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.005158/0.2761, allocations: 2.907 MB / 435.9 MB, free: 28.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.2762, allocations: 12.98 kB / 435.9 MB, free: 28.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.2784, allocations: 0.7611 MB / 436.7 MB, free: 27.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.2799, allocations: 1.069 MB / 437.8 MB, free: 26.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001565/0.2801, allocations: 355.5 kB / 438.1 MB, free: 26.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003128/0.2804, allocations: 193.6 kB / 438.3 MB, free: 26.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003308/0.2837, allocations: 2.527 MB / 440.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.2837, allocations: 5.844 kB / 440.8 MB, free: 24.22 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/0.2839, allocations: 76.38 kB / 440.9 MB, free: 24.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.153e-05/0.284, allocations: 47.94 kB / 441 MB, free: 24.1 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003876/0.2878, allocations: 3.178 MB / 444.1 MB, free: 20.92 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.01056/0.2984, allocations: 6.937 MB / 451.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007318/0.3057, allocations: 4.656 MB / 455.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.3072, allocations: 1.16 MB / 456.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01033/0.3176, allocations: 5.948 MB / 462.8 MB, free: 2.418 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3176, allocations: 46.56 kB / 462.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001336/0.3189, allocations: 310.7 kB / 463.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 1.175e-05/0.319, allocations: 0 / 463.2 MB, free: 2.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.03108/0.35, allocations: 7.402 MB / 470.6 MB, free: 10.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.3501, allocations: 76.88 kB / 470.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.3515, allocations: 0.862 MB / 471.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000301/0.3518, allocations: 53.7 kB / 471.6 MB, free: 9.703 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007817/0.3526, allocations: 0.8305 MB / 472.4 MB, free: 8.867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008962/0.3535, allocations: 0.6586 MB / 473.1 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008413/0.3543, allocations: 415.9 kB / 473.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003793/0.3547, allocations: 305.1 kB / 473.8 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001712/0.3564, allocations: 0.7812 MB / 474.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002379/0.3588, allocations: 1.377 MB / 475.9 MB, free: 5.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004346/0.3631, allocations: 2.36 MB / 478.3 MB, free: 2.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/0.3632, allocations: 4 kB / 478.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.0141/0.3772, allocations: 3.477 MB / 481.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.3773, allocations: 14.19 kB / 481.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-05/0.3773, allocations: 22.66 kB / 481.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005834/0.3831, allocations: 0.9472 MB / 482.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.3855, allocations: 0.5218 MB / 483.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006793/0.3923, allocations: 3.614 MB / 486.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.3942, allocations: 74.67 kB / 487 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004165/0.3946, allocations: 126 kB / 487.1 MB, free: 9.836 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.001078/0.3957, allocations: 406 kB / 487.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/0.3963, allocations: 201.7 kB / 487.7 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01439/0.4107, allocations: 3.322 MB / 491 MB, free: 6.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-05/0.4107, allocations: 22.62 kB / 491 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.4107, allocations: 0 / 491 MB, free: 6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.168e-05/0.4108, allocations: 7.969 kB / 491 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01828/0.4291, allocations: 4.741 MB / 495.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.4291, allocations: 2.625 kB / 495.8 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/0.4309, allocations: 360.7 kB / 496.1 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005545/0.4365, allocations: 0.9331 MB / 497.1 MB, free: 48 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003918/0.4369, allocations: 71.94 kB / 497.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.4431, allocations: 3.512 MB / 0.4889 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4431, allocations: 0 / 0.4889 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01611/0.4592, allocations: 4.288 MB / 0.4931 GB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003957/0.4596, allocations: 125.7 kB / 0.4932 GB, free: 7.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003592/0.46, allocations: 35.98 kB / 0.4933 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.4611, allocations: 40 kB / 0.4933 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006086/0.4617, allocations: 209.6 kB / 0.4935 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002155/0.4619, allocations: 75.95 kB / 0.4936 GB, free: 7.539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008951/0.4628, allocations: 0.5292 MB / 0.4941 GB, free: 7 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4628, allocations: 0 / 0.4941 GB, free: 7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00369/0.4665, allocations: 1.195 MB / 0.4952 GB, free: 5.805 MB / 378.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.003154/0.4696, allocations: 1.418 MB / 0.4966 GB, free: 4.633 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005583/0.4752, allocations: 2.347 MB / 0.4989 GB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.4752, allocations: 2.656 kB / 0.4989 GB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.4782, allocations: 1.301 MB / 0.5002 GB, free: 1.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.48, allocations: 360 kB / 0.5005 GB, free: 0.7266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.4874, allocations: 3.343 MB / 0.5038 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009052/0.4883, allocations: 0.7491 MB / 0.5045 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001536/0.4899, allocations: 413.8 kB / 0.5049 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/0.4906, allocations: 272.4 kB / 0.5052 GB, free: 12.08 MB / 394.7 MB Notification: Performance of SimCode: time 1.001e-06/0.4906, allocations: 0 / 0.5052 GB, free: 12.08 MB / 394.7 MB Notification: Performance of Templates: time 0.08239/0.573, allocations: 46.91 MB / 0.551 GB, free: 13.98 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.83483809302561]