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.0007665/0.0007665, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009714/0.001738, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001023/0.001023, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001422/0.002446, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9193/0.9193, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1139/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-master/package.mo): time 0.1506/0.1506, allocations: 17.43 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01937/0.17, allocations: 6.974 MB / 268.6 MB, free: 6.285 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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.633e-06/1.633e-06, allocations: 0 / 269.9 MB, free: 4.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.097e-05, allocations: 2.312 kB / 269.9 MB, free: 4.977 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.1-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 2.0.1-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.154/0.154, allocations: 8.827 MB / 278.7 MB, free: 1.074 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02671/0.1807, allocations: 28.86 MB / 307.5 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.1824, allocations: 35.69 kB / 307.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.1838, allocations: 0.5465 MB / 308.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007623/0.1914, allocations: 2.61 MB / 310.7 MB, free: 9.434 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01041/0.2018, allocations: 3.645 MB / 314.4 MB, free: 5.766 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004035/0.2058, allocations: 2.8 MB / 317.2 MB, free: 2.957 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.2079, allocations: 1.42 MB / 318.6 MB, free: 1.496 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003886/0.2118, allocations: 2.072 MB / 320.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.2146, allocations: 1.364 MB / 322 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007691/0.2154, allocations: 252 kB / 322.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008986/0.2244, allocations: 3.158 MB / 325.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007926/0.2252, allocations: 442.7 kB / 325.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.2267, allocations: 0.6825 MB / 326.6 MB, free: 9.508 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.2391, allocations: 5.101 MB / 331.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.985e-05/0.2391, allocations: 0 / 331.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2391, allocations: 0 / 331.7 MB, free: 4.387 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.2392, allocations: 0 / 331.7 MB, free: 4.387 MB / 314.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.005138/0.2443, allocations: 3.678 MB / 335.3 MB, free: 0.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.2444, allocations: 12.03 kB / 335.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001574/0.2459, allocations: 0.7956 MB / 336.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.2472, allocations: 0.805 MB / 337 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.2474, allocations: 353.8 kB / 337.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/0.2476, allocations: 192.3 kB / 337.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.2496, allocations: 1.787 MB / 339.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/0.2496, allocations: 192 / 339.3 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.2498, allocations: 76.12 kB / 339.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.2498, allocations: 48 kB / 339.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.2514, allocations: 1.546 MB / 340.9 MB, free: 10.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.006409/0.2578, allocations: 4.812 MB / 345.8 MB, free: 6.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005237/0.2631, allocations: 5.09 MB / 350.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006803/0.2637, allocations: 0.5279 MB / 351.4 MB, free: 372 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006318/0.2701, allocations: 4.389 MB / 355.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.2701, allocations: 43.88 kB / 355.8 MB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006963/0.2708, allocations: 290.8 kB / 356.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 5.651e-06/0.2708, allocations: 0 / 356.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=181): time 0.01358/0.2844, allocations: 5.492 MB / 361.6 MB, free: 6.09 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.2844, allocations: 73.34 kB / 361.7 MB, free: 6.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006331/0.285, allocations: 0.7854 MB / 362.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/0.2852, allocations: 57.7 kB / 362.5 MB, free: 5.137 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005591/0.2858, allocations: 0.7169 MB / 363.2 MB, free: 4.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/0.2862, allocations: 0.6467 MB / 363.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003536/0.2865, allocations: 399.5 kB / 364.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.2866, allocations: 309.1 kB / 364.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.287, allocations: 299.1 kB / 364.8 MB, free: 2.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005907/0.2876, allocations: 0.8866 MB / 365.7 MB, free: 1.609 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001208/0.2888, allocations: 1.492 MB / 367.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.2888, allocations: 12 kB / 367.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=271) (initialization): time 0.004257/0.2931, allocations: 1.845 MB / 369.1 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.2931, allocations: 12.78 kB / 369.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.2931, allocations: 28.14 kB / 369.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.2959, allocations: 0.6487 MB / 369.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.2975, allocations: 0.6164 MB / 370.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003158/0.3006, allocations: 3.025 MB / 373.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.3017, allocations: 63.94 kB / 373.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.3019, allocations: 103.9 kB / 373.6 MB, free: 9.324 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 (262): * Single equations (assignments): 259 * 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.0004885/0.3024, allocations: 248 kB / 373.8 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002693/0.3027, allocations: 140 kB / 373.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005766/0.3084, allocations: 1.88 MB / 375.8 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3085, allocations: 20 kB / 375.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3085, allocations: 4 kB / 375.9 MB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.3085, allocations: 11.97 kB / 375.9 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007194/0.3157, allocations: 2.599 MB / 378.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-06/0.3157, allocations: 0 / 378.5 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3168, allocations: 443.5 kB / 378.9 MB, free: 3.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.317, allocations: 127 kB / 379 MB, free: 3.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002276/0.3193, allocations: 0.6305 MB / 379.7 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001398/0.3194, allocations: 59.95 kB / 379.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.3221, allocations: 2.917 MB / 382.6 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3221, allocations: 0 / 382.6 MB, free: 32 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005968/0.328, allocations: 2.125 MB / 384.8 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/0.3282, allocations: 39.98 kB / 384.8 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.3288, allocations: 40 kB / 384.8 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/0.3292, allocations: 189.6 kB / 385 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.3293, allocations: 59.94 kB / 385.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003363/0.3296, allocations: 356 kB / 385.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3296, allocations: 0 / 385.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00268/0.3323, allocations: 1.184 MB / 386.6 MB, free: 12.01 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 (184): * Single equations (assignments): 181 * 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.002188/0.3345, allocations: 1.482 MB / 388.1 MB, free: 10.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.3367, allocations: 1.466 MB / 389.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.853e-05/0.3367, allocations: 25.81 kB / 389.6 MB, free: 9.008 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004328/0.3411, allocations: 0.9901 MB / 390.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/0.343, allocations: 2.019 MB / 392.6 MB, free: 5.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01694/0.3599, allocations: 2.984 MB / 395.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.3602, allocations: 319 kB / 395.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001153/0.3613, allocations: 364.2 kB / 396.2 MB, free: 1.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/0.3622, allocations: 0.5061 MB / 396.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of SimCode: time 1.724e-06/0.3622, allocations: 0 / 396.7 MB, free: 1.426 MB / 378.7 MB Notification: Performance of Templates: time 0.1611/0.5232, allocations: 53.56 MB / 450.3 MB, free: 102.5 MB / 410.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 sys.exit(0), Time elapsed: 4.232774404808879]