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.0008075/0.0008075, allocations: 80.45 kB / 19.9 MB, free: 12 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.000903/0.000903, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8673/0.8673, allocations: 177.2 MB / 203.6 MB, free: 5.773 MB / 186.7 MB " [Timeout remaining time 179] 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.09169/0.09169, allocations: 17.37 MB / 277.4 MB, free: 11.88 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008925/0.0008925, allocations: 65.73 kB / 412.8 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1006, allocations: 59.86 MB / 472.7 MB, free: 13.87 MB / 378.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.03029/0.1309, allocations: 28.84 MB / 0.4898 GB, free: 1.094 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01943/0.1504, allocations: 25.3 MB / 0.5145 GB, free: 7.699 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/0.1514, allocations: 35.69 kB / 0.5145 GB, free: 7.664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.1523, allocations: 0.5271 MB / 0.515 GB, free: 7.133 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.1567, allocations: 2.568 MB / 0.5175 GB, free: 4.547 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006164/0.1629, allocations: 3.581 MB / 0.521 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.002191/0.1651, allocations: 2.72 MB / 0.5237 GB, free: 14.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009904/0.1661, allocations: 1.352 MB / 0.525 GB, free: 12.82 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.1673, allocations: 2.015 MB / 0.527 GB, free: 10.8 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.1685, allocations: 1.503 MB / 0.5284 GB, free: 9.293 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.1688, allocations: 252 kB / 0.5287 GB, free: 9.047 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005533/0.1743, allocations: 3.002 MB / 0.5316 GB, free: 6.039 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003675/0.1747, allocations: 0.6193 MB / 0.5322 GB, free: 5.418 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006511/0.1753, allocations: 1.043 MB / 0.5332 GB, free: 4.371 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005941/0.1813, allocations: 6.152 MB / 0.5392 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1813, allocations: 0 / 0.5392 GB, free: 14.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1813, allocations: 0 / 0.5392 GB, free: 14.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.035e-05/0.1813, allocations: 8 kB / 0.5392 GB, free: 14.19 MB / 458.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.003279/0.1846, allocations: 2.923 MB / 0.5421 GB, free: 11.22 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1846, allocations: 12.03 kB / 0.5421 GB, free: 11.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.1858, allocations: 478.6 kB / 0.5426 GB, free: 10.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.1872, allocations: 1.042 MB / 0.5436 GB, free: 9.668 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001806/0.1874, allocations: 361.8 kB / 0.5439 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.1876, allocations: 184.3 kB / 0.5441 GB, free: 9.086 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002541/0.1901, allocations: 2.539 MB / 0.5466 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.1902, allocations: 0 / 0.5466 GB, free: 6.512 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/0.1903, allocations: 76 kB / 0.5467 GB, free: 6.438 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/0.1903, allocations: 44 kB / 0.5467 GB, free: 6.395 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003163/0.1935, allocations: 3.172 MB / 0.5498 GB, free: 3.219 MB / 458.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.00791/0.2014, allocations: 6.907 MB / 0.5565 GB, free: 12.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005286/0.2067, allocations: 4.654 MB / 0.5611 GB, free: 7.547 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.2078, allocations: 1.153 MB / 0.5622 GB, free: 6.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00715/0.215, allocations: 5.782 MB / 0.5679 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.215, allocations: 43.88 kB / 0.5679 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006296/0.2156, allocations: 298.8 kB / 0.5682 GB, free: 236 kB / 474.7 MB Notification: Performance of pre-optimization done (n=158): time 2.845e-06/0.2156, allocations: 0 / 0.5682 GB, free: 236 kB / 474.7 MB Notification: Performance of matching and sorting (n=187): time 0.01498/0.2306, allocations: 7.347 MB / 0.5754 GB, free: 8.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.2307, allocations: 73.41 kB / 0.5754 GB, free: 8.758 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006962/0.2314, allocations: 0.8659 MB / 0.5763 GB, free: 7.871 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.2315, allocations: 57.64 kB / 0.5763 GB, free: 7.809 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.2318, allocations: 0.8402 MB / 0.5771 GB, free: 6.957 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.2322, allocations: 0.6622 MB / 0.5778 GB, free: 6.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.2325, allocations: 411.9 kB / 0.5782 GB, free: 5.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.354e-05/0.2326, allocations: 313.1 kB / 0.5785 GB, free: 5.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2339, allocations: 0.7889 MB / 0.5793 GB, free: 4.777 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001166/0.235, allocations: 1.375 MB / 0.5806 GB, free: 3.141 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002193/0.2372, allocations: 2.36 MB / 0.5829 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.2372, allocations: 4 kB / 0.5829 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.2352/0.4724, allocations: 3.374 MB / 0.5862 GB, free: 107.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.4725, allocations: 13.34 kB / 0.5862 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.4725, allocations: 18 kB / 0.5862 GB, free: 107.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002086/0.4746, allocations: 0.8156 MB / 0.587 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001086/0.4757, allocations: 0.5197 MB / 0.5875 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.4786, allocations: 3.616 MB / 0.5911 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008347/0.4794, allocations: 74.22 kB / 0.5911 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.4796, allocations: 123.2 kB / 0.5913 GB, free: 104 MB / 490.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.0006892/0.4803, allocations: 398.1 kB / 0.5916 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.4805, allocations: 150.9 kB / 0.5918 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006478/0.487, allocations: 3.316 MB / 0.595 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.487, allocations: 19.84 kB / 0.595 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.487, allocations: 1.5 kB / 0.595 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.487, allocations: 7.312 kB / 0.595 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007116/0.4941, allocations: 4.744 MB / 0.5997 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4941, allocations: 0 / 0.5997 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.4948, allocations: 363.5 kB / 0.6 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.4965, allocations: 0.7979 MB / 0.6008 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/0.4966, allocations: 67.17 kB / 0.6009 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/0.4989, allocations: 3.515 MB / 0.6043 GB, free: 97.51 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.4989, allocations: 2.531 kB / 0.6043 GB, free: 97.51 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006351/0.5052, allocations: 4.229 MB / 0.6084 GB, free: 94.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5054, allocations: 129 kB / 0.6086 GB, free: 94.16 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.5055, allocations: 39.98 kB / 0.6086 GB, free: 94.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.5059, allocations: 39.98 kB / 0.6086 GB, free: 94.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002819/0.5062, allocations: 205.5 kB / 0.6088 GB, free: 93.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.382e-05/0.5063, allocations: 78.58 kB / 0.6089 GB, free: 93.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003792/0.5067, allocations: 0.5357 MB / 0.6094 GB, free: 93.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5067, allocations: 0 / 0.6094 GB, free: 93.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002065/0.5087, allocations: 1.191 MB / 0.6106 GB, free: 92.27 MB / 490.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.001373/0.5101, allocations: 1.361 MB / 0.6119 GB, free: 91.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002356/0.5125, allocations: 2.337 MB / 0.6142 GB, free: 88.97 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5125, allocations: 0 / 0.6142 GB, free: 88.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.5136, allocations: 1.316 MB / 0.6155 GB, free: 87.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.5144, allocations: 313.9 kB / 0.6158 GB, free: 87.37 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.5178, allocations: 3.395 MB / 0.6191 GB, free: 84.01 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.5181, allocations: 0.7517 MB / 0.6198 GB, free: 83.24 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007655/0.5189, allocations: 416.2 kB / 0.6202 GB, free: 82.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.5192, allocations: 273.6 kB / 0.6205 GB, free: 82.69 MB / 490.7 MB Notification: Performance of SimCode: time 4.4e-07/0.5192, allocations: 0 / 0.6205 GB, free: 82.69 MB / 490.7 MB Notification: Performance of Templates: time 0.0323/0.5515, allocations: 46.72 MB / 0.6661 GB, free: 37.08 MB / 490.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=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.415837262989953] Failed to read output from testmodel.py, exit status != 0: 0.7152809160761535 0.5619598579999999 0.37939723599999997 Calling exit ...