Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00183/0.00183, allocations: 88.05 kB / 19.44 MB, free: 320 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.002057/0.002057, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.579/1.579, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1473/0.1473, allocations: 17.37 MB / 276.9 MB, free: 11.68 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.Phosphate") translateModel(Chemical.Obsolete.Examples.AcidBase.Phosphate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 352.7 MB, free: 10.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.579e-05/3.769e-05, allocations: 12.72 kB / 352.7 MB, free: 10.31 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.04407/0.04411, allocations: 30.13 MB / 382.9 MB, free: 12.3 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2103/0.2544, allocations: 28.88 MB / 411.7 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.256, allocations: 35.06 kB / 411.8 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001699/0.2577, allocations: 0.5273 MB / 412.3 MB, free: 31.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008225/0.266, allocations: 2.65 MB / 414.9 MB, free: 31.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009978/0.2759, allocations: 3.677 MB / 418.6 MB, free: 30.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004228/0.2802, allocations: 2.813 MB / 421.4 MB, free: 30.11 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.2821, allocations: 1.412 MB / 422.8 MB, free: 29.97 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.2862, allocations: 1.957 MB / 424.8 MB, free: 29.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.2891, allocations: 1.386 MB / 426.2 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.2897, allocations: 249.3 kB / 426.4 MB, free: 29.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009333/0.299, allocations: 3.022 MB / 429.5 MB, free: 29.23 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.3, allocations: 0.6307 MB / 430.1 MB, free: 28.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.3017, allocations: 0.9026 MB / 431 MB, free: 28.56 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.316, allocations: 6.53 MB / 437.5 MB, free: 25.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.316, allocations: 0 / 437.5 MB, free: 25.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.316, allocations: 0 / 437.5 MB, free: 25.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.394e-05/0.3161, allocations: 0 / 437.5 MB, free: 25.14 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.006338/0.3224, allocations: 3.151 MB / 440.7 MB, free: 23.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3225, allocations: 8.25 kB / 440.7 MB, free: 23.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002457/0.3249, allocations: 0.7647 MB / 441.4 MB, free: 22.65 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001935/0.3269, allocations: 1.049 MB / 442.5 MB, free: 21.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.327, allocations: 357.1 kB / 442.8 MB, free: 21.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003047/0.3273, allocations: 194.1 kB / 443 MB, free: 21.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.3309, allocations: 2.551 MB / 445.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.3309, allocations: 192 / 445.6 MB, free: 19.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.3311, allocations: 80.36 kB / 445.7 MB, free: 18.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.3312, allocations: 51.88 kB / 445.7 MB, free: 18.94 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.3354, allocations: 3.061 MB / 448.8 MB, free: 15.88 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.01256/0.3479, allocations: 7.71 MB / 456.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00753/0.3555, allocations: 4.526 MB / 461 MB, free: 3.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.3571, allocations: 1.058 MB / 462.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01289/0.37, allocations: 6.015 MB / 468.1 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.3701, allocations: 53.36 kB / 468.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001486/0.3716, allocations: 298.2 kB / 468.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 4.409e-06/0.3716, allocations: 0 / 468.4 MB, free: 12.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.03057/0.4021, allocations: 7.206 MB / 475.6 MB, free: 5.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.4022, allocations: 73.41 kB / 475.7 MB, free: 5.152 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.404, allocations: 1.079 MB / 476.8 MB, free: 4.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003297/0.4043, allocations: 56.36 kB / 476.8 MB, free: 3.992 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008199/0.4052, allocations: 0.9277 MB / 477.8 MB, free: 3.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008711/0.406, allocations: 0.6974 MB / 478.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007807/0.4068, allocations: 465.8 kB / 478.9 MB, free: 1.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002393/0.4071, allocations: 480.8 kB / 479.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.4086, allocations: 0.7383 MB / 480.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002452/0.4111, allocations: 1.614 MB / 481.7 MB, free: 14.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004629/0.4157, allocations: 2.639 MB / 484.4 MB, free: 11.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/0.4157, allocations: 8 kB / 484.4 MB, free: 11.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01275/0.4285, allocations: 3.341 MB / 487.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.4285, allocations: 12 kB / 487.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-05/0.4285, allocations: 20 kB / 487.8 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005182/0.4337, allocations: 0.9369 MB / 488.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.436, allocations: 0.5155 MB / 489.2 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007214/0.4432, allocations: 4.855 MB / 494.1 MB, free: 2.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.445, allocations: 74.55 kB / 494.1 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000263/0.4453, allocations: 120 kB / 494.3 MB, free: 1.977 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.0009079/0.4462, allocations: 436.6 kB / 494.7 MB, free: 1.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.4467, allocations: 207 kB / 494.9 MB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/0.4591, allocations: 3.18 MB / 498.1 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.862e-05/0.4592, allocations: 22.72 kB / 498.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4592, allocations: 2.688 kB / 498.1 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-05/0.4592, allocations: 11.95 kB / 498.1 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.4751, allocations: 4.861 MB / 0.4912 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.641e-05/0.4752, allocations: 0 / 0.4912 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001847/0.477, allocations: 368.4 kB / 0.4915 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005151/0.4822, allocations: 0.9106 MB / 0.4924 GB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/0.4825, allocations: 67.95 kB / 0.4925 GB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006801/0.4893, allocations: 4.732 MB / 0.4971 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4893, allocations: 2.625 kB / 0.4971 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/0.5038, allocations: 4.119 MB / 0.5011 GB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.5042, allocations: 133.8 kB / 0.5013 GB, free: 14.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002556/0.5045, allocations: 39.94 kB / 0.5013 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009435/0.5054, allocations: 36 kB / 0.5013 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005369/0.5059, allocations: 209.6 kB / 0.5015 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.5061, allocations: 82.62 kB / 0.5016 GB, free: 14.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008666/0.507, allocations: 0.6073 MB / 0.5022 GB, free: 13.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.507, allocations: 0 / 0.5022 GB, free: 13.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003465/0.5105, allocations: 1.195 MB / 0.5034 GB, free: 12.73 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.002652/0.5131, allocations: 1.407 MB / 0.5047 GB, free: 11.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004957/0.5181, allocations: 2.521 MB / 0.5072 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5181, allocations: 0 / 0.5072 GB, free: 9.074 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003285/0.5214, allocations: 1.477 MB / 0.5086 GB, free: 7.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.5232, allocations: 359.2 kB / 0.509 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/0.5303, allocations: 3.333 MB / 0.5122 GB, free: 3.945 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000837/0.5311, allocations: 0.7361 MB / 0.513 GB, free: 3.199 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001519/0.5327, allocations: 395.6 kB / 0.5133 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006808/0.5333, allocations: 275.9 kB / 0.5136 GB, free: 2.664 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5333, allocations: 0 / 0.5136 GB, free: 2.664 MB / 394.7 MB Notification: Performance of Templates: time 0.07936/0.6127, allocations: 47.2 MB / 0.5597 GB, free: 4.23 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 7.065896942047402]