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.001355/0.001355, allocations: 104.3 kB / 19.71 MB, free: 2.148 MB / 14.72 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.001525/0.001525, allocations: 207.1 kB / 22.99 MB, free: 4.965 MB / 14.72 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 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.1422/0.1422, allocations: 23.88 MB / 337.1 MB, free: 11.09 MB / 270.1 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.002208/0.002208, allocations: 59.91 kB / 472.4 MB, free: 7.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3074, allocations: 59.86 MB / 0.5198 GB, free: 9.742 MB / 382.1 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.07463/0.382, allocations: 28.71 MB / 0.5478 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03691/0.4189, allocations: 25.29 MB / 0.5725 GB, free: 3.863 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.4207, allocations: 31.75 kB / 0.5725 GB, free: 3.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.4227, allocations: 0.5272 MB / 0.573 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008343/0.4311, allocations: 2.569 MB / 0.5755 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.4413, allocations: 3.573 MB / 0.579 GB, free: 13.12 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004392/0.4457, allocations: 2.716 MB / 0.5817 GB, free: 10.4 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.4476, allocations: 1.348 MB / 0.583 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.4496, allocations: 1.45 MB / 0.5844 GB, free: 7.559 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.4523, allocations: 1.491 MB / 0.5859 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005251/0.4528, allocations: 252 kB / 0.5861 GB, free: 5.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008241/0.461, allocations: 2.995 MB / 0.589 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009297/0.462, allocations: 0.6193 MB / 0.5896 GB, free: 2.195 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.4636, allocations: 1.039 MB / 0.5907 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01334/0.4769, allocations: 6.113 MB / 0.5966 GB, free: 11.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4769, allocations: 4 kB / 0.5966 GB, free: 11.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4769, allocations: 0 / 0.5966 GB, free: 11.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.942e-05/0.477, allocations: 0 / 0.5966 GB, free: 11.01 MB / 446.1 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.006753/0.4837, allocations: 2.927 MB / 0.5995 GB, free: 8.039 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4838, allocations: 11.97 kB / 0.5995 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002255/0.486, allocations: 482.5 kB / 0.6 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002257/0.4883, allocations: 1.042 MB / 0.601 GB, free: 6.484 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.4886, allocations: 357.8 kB / 0.6013 GB, free: 6.086 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/0.489, allocations: 188.3 kB / 0.6015 GB, free: 5.902 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004567/0.4936, allocations: 2.535 MB / 0.604 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.4936, allocations: 0 / 0.604 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002179/0.4938, allocations: 80 kB / 0.6041 GB, free: 3.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.069e-05/0.4939, allocations: 44 kB / 0.6041 GB, free: 3.211 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005444/0.4993, allocations: 3.176 MB / 0.6072 GB, free: 32 kB / 446.1 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.01468/0.514, allocations: 6.894 MB / 0.6139 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009371/0.5234, allocations: 4.654 MB / 0.6185 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002437/0.5258, allocations: 1.149 MB / 0.6196 GB, free: 3.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01341/0.5392, allocations: 5.781 MB / 0.6252 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/0.5393, allocations: 51.81 kB / 0.6253 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001444/0.5407, allocations: 302.8 kB / 0.6256 GB, free: 13.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=158): time 7.965e-06/0.5407, allocations: 0 / 0.6256 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=187): time 0.03098/0.5717, allocations: 7.35 MB / 0.6328 GB, free: 5.648 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.5718, allocations: 77.34 kB / 0.6328 GB, free: 5.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.5732, allocations: 0.862 MB / 0.6337 GB, free: 4.68 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003625/0.5735, allocations: 57.7 kB / 0.6337 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007369/0.5743, allocations: 0.8324 MB / 0.6345 GB, free: 3.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009319/0.5752, allocations: 0.6623 MB / 0.6352 GB, free: 3.105 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008774/0.5761, allocations: 411.9 kB / 0.6356 GB, free: 2.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5762, allocations: 313 kB / 0.6359 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001704/0.5779, allocations: 0.7812 MB / 0.6366 GB, free: 1.602 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002272/0.5802, allocations: 1.375 MB / 0.638 GB, free: 15.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004154/0.5844, allocations: 2.36 MB / 0.6403 GB, free: 13.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.847e-05/0.5844, allocations: 4 kB / 0.6403 GB, free: 13.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01274/0.5971, allocations: 3.384 MB / 0.6436 GB, free: 9.941 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.126e-05/0.5972, allocations: 12 kB / 0.6436 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/0.5972, allocations: 20 kB / 0.6436 GB, free: 9.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003873/0.6011, allocations: 0.8182 MB / 0.6444 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.6032, allocations: 0.5149 MB / 0.6449 GB, free: 8.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/0.6091, allocations: 3.624 MB / 0.6485 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.6109, allocations: 71.98 kB / 0.6485 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004305/0.6113, allocations: 116 kB / 0.6486 GB, free: 4.559 MB / 494.1 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.001111/0.6124, allocations: 409 kB / 0.649 GB, free: 4.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.6129, allocations: 147.1 kB / 0.6492 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.6256, allocations: 3.318 MB / 0.6524 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.673e-05/0.6257, allocations: 20 kB / 0.6524 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.6257, allocations: 0 / 0.6524 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/0.6257, allocations: 11.95 kB / 0.6524 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/0.6416, allocations: 4.753 MB / 0.6571 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/0.6416, allocations: 0 / 0.6571 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001779/0.6434, allocations: 363.5 kB / 0.6574 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/0.6471, allocations: 0.7984 MB / 0.6582 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004121/0.6475, allocations: 67.94 kB / 0.6583 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005454/0.653, allocations: 3.508 MB / 0.6617 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.653, allocations: 3.938 kB / 0.6617 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.6676, allocations: 4.237 MB / 0.6658 GB, free: 2.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003968/0.668, allocations: 123 kB / 0.666 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004494/0.6684, allocations: 32 kB / 0.666 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.6696, allocations: 43.98 kB / 0.666 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006019/0.6702, allocations: 205.6 kB / 0.6662 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002577/0.6705, allocations: 79.95 kB / 0.6663 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008654/0.6713, allocations: 0.5253 MB / 0.6668 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.6713, allocations: 0 / 0.6668 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003776/0.6751, allocations: 1.196 MB / 0.668 GB, free: 424 kB / 0.4981 GB 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.003255/0.6784, allocations: 1.37 MB / 0.6693 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005555/0.6839, allocations: 2.339 MB / 0.6716 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.6839, allocations: 4 kB / 0.6716 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002995/0.6869, allocations: 1.313 MB / 0.6729 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.6889, allocations: 308.4 kB / 0.6732 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008188/0.6971, allocations: 3.441 MB / 0.6766 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.6983, allocations: 0.7478 MB / 0.6773 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.6995, allocations: 347 kB / 0.6776 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/0.6995, allocations: 0 / 0.6776 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.2892/0.9887, allocations: 57.04 MB / 0.7333 GB, free: 174.2 MB / 0.5606 GB " [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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.284432154148817] Failed to read output from testmodel.py, exit status != 0: 0.998278543818742 1.010586842 0.53087671 Calling exit ...