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.0008099/0.0008099, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001098/0.001908, allocations: 435.8 kB / 10.33 MB, free: 368 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.000728/0.000728, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009303/0.001658, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9056/0.9056, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07523/0.9808, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.1/0.1, allocations: 17.45 MB / 261.4 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01197/0.112, allocations: 6.963 MB / 268.4 MB, free: 6.406 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.563e-06/1.563e-06, allocations: 0 / 269.7 MB, free: 5.125 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.775e-05, allocations: 2.312 kB / 269.7 MB, free: 5.121 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.1367/0.1367, allocations: 8.826 MB / 278.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02402/0.1607, allocations: 28.85 MB / 307.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.1619, allocations: 35.69 kB / 307.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.163, allocations: 0.5426 MB / 307.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005571/0.1686, allocations: 2.606 MB / 310.5 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00795/0.1765, allocations: 3.649 MB / 314.2 MB, free: 5.957 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.1796, allocations: 2.797 MB / 317 MB, free: 3.152 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.1811, allocations: 1.432 MB / 318.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.1832, allocations: 2.064 MB / 320.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.1848, allocations: 1.368 MB / 321.8 MB, free: 14.22 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004106/0.1852, allocations: 248 kB / 322.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006786/0.192, allocations: 3.158 MB / 325.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000522/0.1925, allocations: 438.8 kB / 325.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.1936, allocations: 0.6863 MB / 326.3 MB, free: 9.699 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009166/0.2027, allocations: 5.101 MB / 331.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.716e-05/0.2028, allocations: 0 / 331.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.2028, allocations: 4 kB / 331.5 MB, free: 4.574 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.239e-05/0.2028, allocations: 0 / 331.5 MB, free: 4.574 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.00412/0.2069, allocations: 3.682 MB / 335.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.207, allocations: 8.031 kB / 335.1 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001416/0.2084, allocations: 0.7917 MB / 335.9 MB, free: 32 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.2095, allocations: 0.801 MB / 336.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.2097, allocations: 357.8 kB / 337.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.2099, allocations: 196.2 kB / 337.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.2117, allocations: 1.783 MB / 339.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/0.2117, allocations: 4.125 kB / 339.1 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.2119, allocations: 76.12 kB / 339.1 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.2119, allocations: 44 kB / 339.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001716/0.2136, allocations: 1.542 MB / 340.7 MB, free: 11.11 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.006366/0.22, allocations: 4.818 MB / 345.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004994/0.225, allocations: 5.083 MB / 350.6 MB, free: 1.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.2255, allocations: 0.5318 MB / 351.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005723/0.2312, allocations: 4.378 MB / 355.5 MB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.2313, allocations: 43.88 kB / 355.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005953/0.2319, allocations: 298.7 kB / 355.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=158): time 4.829e-06/0.2319, allocations: 0 / 355.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=187): time 0.01129/0.2432, allocations: 4.881 MB / 360.8 MB, free: 6.891 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.2432, allocations: 73.41 kB / 360.8 MB, free: 6.805 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.2437, allocations: 0.7854 MB / 361.6 MB, free: 6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.659e-05/0.2438, allocations: 57.7 kB / 361.7 MB, free: 5.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002875/0.2441, allocations: 0.7132 MB / 362.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003343/0.2444, allocations: 0.6661 MB / 363 MB, free: 4.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.2447, allocations: 403.7 kB / 363.4 MB, free: 4.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.2448, allocations: 309.1 kB / 363.7 MB, free: 3.836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003651/0.2452, allocations: 303.3 kB / 364 MB, free: 3.535 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.2458, allocations: 0.8949 MB / 364.9 MB, free: 2.375 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.2469, allocations: 1.46 MB / 366.4 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.2469, allocations: 8 kB / 366.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.004032/0.251, allocations: 1.86 MB / 368.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.251, allocations: 12 kB / 368.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.251, allocations: 24.16 kB / 368.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001785/0.2528, allocations: 0.65 MB / 368.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/0.2538, allocations: 0.6203 MB / 369.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002397/0.2562, allocations: 3.034 MB / 372.6 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.2569, allocations: 64 kB / 372.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.2571, allocations: 103.9 kB / 372.8 MB, free: 10.1 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.0003562/0.2574, allocations: 248 kB / 373 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.2576, allocations: 143.9 kB / 373.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004235/0.2618, allocations: 1.892 MB / 375 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.2618, allocations: 20 kB / 375.1 MB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2618, allocations: 3.938 kB / 375.1 MB, free: 7.785 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.2619, allocations: 23.83 kB / 375.1 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.2669, allocations: 2.595 MB / 377.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.2669, allocations: 0 / 377.7 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008287/0.2678, allocations: 455.4 kB / 378.1 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.2679, allocations: 123 kB / 378.2 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001723/0.2696, allocations: 0.6305 MB / 378.9 MB, free: 3.922 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.2697, allocations: 63.94 kB / 378.9 MB, free: 3.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002001/0.2717, allocations: 2.917 MB / 381.9 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2717, allocations: 4 kB / 381.9 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004292/0.276, allocations: 2.152 MB / 384 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.2761, allocations: 32 kB / 384 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.2765, allocations: 44 kB / 384.1 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.2768, allocations: 193.6 kB / 384.3 MB, free: 14.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.2769, allocations: 59.95 kB / 384.3 MB, free: 14.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002396/0.2771, allocations: 359.9 kB / 384.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 384.7 MB, free: 13.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002102/0.2792, allocations: 1.192 MB / 385.9 MB, free: 12.71 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.001734/0.2809, allocations: 1.486 MB / 387.4 MB, free: 11.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2826, allocations: 1.45 MB / 388.8 MB, free: 9.742 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.251e-05/0.2827, allocations: 30.45 kB / 388.8 MB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.2836, allocations: 0.8924 MB / 389.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.2844, allocations: 0.5191 MB / 390.3 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01114/0.2956, allocations: 3.017 MB / 393.3 MB, free: 5.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2958, allocations: 323.8 kB / 393.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.2968, allocations: 365.1 kB / 393.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008257/0.2976, allocations: 0.5118 MB / 394.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.472e-06/0.2976, allocations: 0 / 394.5 MB, free: 4.023 MB / 378.7 MB Notification: Performance of Templates: time 0.1826/0.4802, allocations: 54.13 MB / 448.6 MB, free: 102.9 MB / 410.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 sys.exit(0), Time elapsed: 4.296963156200945]