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.001442/0.001442, allocations: 93.06 kB / 19.65 MB, free: 280 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.001606/0.001606, allocations: 165.3 kB / 23.02 MB, free: 1.555 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 0.9559/0.9559, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.1185/0.1185, allocations: 17.46 MB / 277.4 MB, free: 11.56 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.533e-06/1.533e-06, allocations: 0 / 353.6 MB, free: 9.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.299e-05, allocations: 6.25 kB / 353.6 MB, free: 9.832 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.02625/0.02627, allocations: 32.52 MB / 386.1 MB, free: 9.426 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.156/0.1823, allocations: 29.07 MB / 415.1 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001275/0.1836, allocations: 34.19 kB / 415.2 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.1849, allocations: 0.5339 MB / 415.7 MB, free: 33.96 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006073/0.191, allocations: 2.652 MB / 418.4 MB, free: 33.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008397/0.1994, allocations: 3.677 MB / 422 MB, free: 32.81 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.2029, allocations: 2.81 MB / 424.8 MB, free: 32.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.2048, allocations: 1.415 MB / 426.3 MB, free: 32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/0.2074, allocations: 1.962 MB / 428.2 MB, free: 31.55 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.2095, allocations: 1.379 MB / 429.6 MB, free: 31.29 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003447/0.2098, allocations: 251 kB / 429.8 MB, free: 31.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007584/0.2174, allocations: 3.018 MB / 432.9 MB, free: 30.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000497/0.2179, allocations: 0.6337 MB / 433.5 MB, free: 30.39 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.219, allocations: 0.9024 MB / 434.4 MB, free: 29.94 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.2296, allocations: 5.609 MB / 440 MB, free: 27.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2296, allocations: 0 / 440 MB, free: 27.1 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2296, allocations: 2.625 kB / 440 MB, free: 27.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.467e-05/0.2297, allocations: 3.188 kB / 440 MB, free: 27.1 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.003681/0.2334, allocations: 3.03 MB / 443 MB, free: 25.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.2334, allocations: 9.906 kB / 443.1 MB, free: 25.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.2349, allocations: 0.7663 MB / 443.8 MB, free: 24.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2359, allocations: 1.06 MB / 444.9 MB, free: 23.47 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.2361, allocations: 353.8 kB / 445.2 MB, free: 23.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/0.2363, allocations: 192.3 kB / 445.4 MB, free: 22.89 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.2383, allocations: 1.959 MB / 447.4 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.2383, allocations: 2.844 kB / 447.4 MB, free: 20.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/0.2384, allocations: 76.38 kB / 447.5 MB, free: 20.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.253e-05/0.2384, allocations: 47.94 kB / 447.5 MB, free: 20.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.2407, allocations: 2.06 MB / 449.6 MB, free: 18.71 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.006446/0.2471, allocations: 6.357 MB / 455.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.2522, allocations: 5.404 MB / 461.3 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008368/0.253, allocations: 0.7376 MB / 462.1 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006617/0.2596, allocations: 5.272 MB / 467.3 MB, free: 1.113 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2596, allocations: 49.33 kB / 467.4 MB, free: 1.059 MB / 330.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007204/0.2604, allocations: 293.8 kB / 467.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of pre-optimization done (n=158): time 4.729e-06/0.2604, allocations: 0 / 467.7 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of matching and sorting (n=187): time 0.01459/0.275, allocations: 5.678 MB / 473.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.275, allocations: 72.59 kB / 473.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008233/0.2758, allocations: 0.8867 MB / 474.3 MB, free: 10.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000109/0.2759, allocations: 57.7 kB / 474.4 MB, free: 10.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004288/0.2764, allocations: 0.8836 MB / 475.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004186/0.2768, allocations: 0.6655 MB / 475.9 MB, free: 8.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004316/0.2772, allocations: 417.8 kB / 476.3 MB, free: 8.137 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.2773, allocations: 476.8 kB / 476.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000737/0.2781, allocations: 462.7 kB / 477.2 MB, free: 7.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.2792, allocations: 1.27 MB / 478.5 MB, free: 5.598 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.2811, allocations: 1.914 MB / 480.4 MB, free: 3.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.2812, allocations: 4 kB / 480.4 MB, free: 3.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.005863/0.287, allocations: 2.559 MB / 483 MB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.287, allocations: 16 kB / 483 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.2871, allocations: 16 kB / 483 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.2893, allocations: 0.6903 MB / 483.7 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.2904, allocations: 0.5255 MB / 484.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.2941, allocations: 4.388 MB / 488.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009805/0.295, allocations: 68 kB / 488.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.2952, allocations: 123.9 kB / 488.8 MB, free: 11.01 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.0005615/0.2958, allocations: 294.5 kB / 489.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.2961, allocations: 207 kB / 489.3 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005826/0.3019, allocations: 2.456 MB / 491.7 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.3019, allocations: 20 kB / 491.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.3019, allocations: 0 / 491.8 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.302, allocations: 11.95 kB / 491.8 MB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/0.3095, allocations: 3.686 MB / 495.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3095, allocations: 2.656 kB / 495.5 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00087/0.3104, allocations: 367.5 kB / 495.8 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.3128, allocations: 0.6704 MB / 496.5 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.3129, allocations: 67.95 kB / 496.6 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003352/0.3163, allocations: 4.279 MB / 0.4891 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.3163, allocations: 0 / 0.4891 GB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.3227, allocations: 2.857 MB / 0.4919 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.3231, allocations: 123 kB / 0.492 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.3232, allocations: 36 kB / 0.492 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004774/0.3237, allocations: 39.98 kB / 0.4921 GB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003492/0.324, allocations: 209.6 kB / 0.4923 GB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.3241, allocations: 79.95 kB / 0.4924 GB, free: 11.49 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004595/0.3246, allocations: 0.5044 MB / 0.4929 GB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3246, allocations: 0 / 0.4929 GB, free: 10.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002995/0.3276, allocations: 1.192 MB / 0.494 GB, free: 9.785 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.002332/0.3299, allocations: 1.409 MB / 0.4954 GB, free: 8.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003268/0.3332, allocations: 1.891 MB / 0.4972 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3332, allocations: 0 / 0.4972 GB, free: 6.668 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001698/0.3349, allocations: 1.172 MB / 0.4984 GB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3361, allocations: 366.4 kB / 0.4987 GB, free: 5.141 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.3418, allocations: 3.033 MB / 0.5017 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.342, allocations: 327.8 kB / 0.502 GB, free: 1.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001123/0.3432, allocations: 405.2 kB / 0.5024 GB, free: 1.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.3437, allocations: 270.9 kB / 0.5027 GB, free: 1.219 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3437, allocations: 0 / 0.5027 GB, free: 1.219 MB / 378.7 MB Notification: Performance of Templates: time 0.05272/0.3964, allocations: 47.2 MB / 0.5487 GB, free: 2.805 MB / 426.7 MB " [Timeout remaining time 660] 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: 4.2219952289015055]