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.00166/0.00166, allocations: 77.08 kB / 19.18 MB, free: 2.527 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.002177/0.002177, allocations: 172.5 kB / 22.46 MB, free: 5.359 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.459/1.459, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.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.1291/0.1291, allocations: 17.38 MB / 276.6 MB, free: 15.31 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: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 412 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.855e-05, allocations: 9.453 kB / 412 MB, free: 4.445 MB / 334.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.03704/0.03707, allocations: 28.97 MB / 440.9 MB, free: 7.594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1852/0.2222, allocations: 25.29 MB / 466.2 MB, free: 25.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.2234, allocations: 36.06 kB / 466.3 MB, free: 25.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.2248, allocations: 0.5197 MB / 466.8 MB, free: 25.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006718/0.2316, allocations: 2.651 MB / 469.4 MB, free: 24.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01085/0.2424, allocations: 3.676 MB / 473.1 MB, free: 21.9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004119/0.2465, allocations: 2.817 MB / 475.9 MB, free: 20.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.2481, allocations: 1.351 MB / 477.3 MB, free: 19.49 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002212/0.2503, allocations: 1.962 MB / 479.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/0.2525, allocations: 1.354 MB / 480.6 MB, free: 17.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.253, allocations: 251.8 kB / 480.8 MB, free: 17.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007988/0.2609, allocations: 3.025 MB / 483.9 MB, free: 16.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006488/0.2616, allocations: 0.6298 MB / 484.5 MB, free: 16.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.2629, allocations: 0.8992 MB / 485.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01068/0.2736, allocations: 6.515 MB / 491.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.2736, allocations: 0 / 491.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2736, allocations: 0 / 491.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.2737, allocations: 0 / 491.9 MB, free: 9.012 MB / 366.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.004764/0.2784, allocations: 2.918 MB / 494.8 MB, free: 6.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2785, allocations: 8.031 kB / 494.8 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/0.2804, allocations: 477.5 kB / 495.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/0.2819, allocations: 1.051 MB / 496.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.2821, allocations: 360.5 kB / 496.7 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.2824, allocations: 188.3 kB / 496.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/0.2858, allocations: 2.529 MB / 499.4 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.2859, allocations: 4.125 kB / 499.4 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002001/0.2861, allocations: 72.38 kB / 499.5 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/0.2861, allocations: 47.94 kB / 499.5 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.2911, allocations: 3.176 MB / 0.4909 GB, free: 14.08 MB / 382.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.01401/0.3051, allocations: 6.904 MB / 0.4977 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009697/0.3148, allocations: 4.66 MB / 0.5022 GB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002194/0.317, allocations: 1.153 MB / 0.5033 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01305/0.33, allocations: 5.767 MB / 0.509 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.3301, allocations: 51.47 kB / 0.509 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001434/0.3315, allocations: 306.7 kB / 0.5093 GB, free: 11.16 MB / 398.1 MB Notification: Performance of pre-optimization done (n=158): time 4.078e-06/0.3315, allocations: 0 / 0.5093 GB, free: 11.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=187): time 0.0306/0.3621, allocations: 7.342 MB / 0.5165 GB, free: 3.844 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3622, allocations: 76.05 kB / 0.5166 GB, free: 3.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.3633, allocations: 0.862 MB / 0.5174 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.3635, allocations: 60.7 kB / 0.5175 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006571/0.3642, allocations: 0.8208 MB / 0.5183 GB, free: 1.98 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/0.3648, allocations: 0.6584 MB / 0.5189 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006686/0.3655, allocations: 407.9 kB / 0.5193 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.3656, allocations: 305.1 kB / 0.5196 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001536/0.3672, allocations: 0.7878 MB / 0.5204 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/0.3693, allocations: 1.371 MB / 0.5217 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003956/0.3732, allocations: 2.364 MB / 0.524 GB, free: 11.59 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.3732, allocations: 8 kB / 0.524 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=277) (initialization): time 0.01293/0.3862, allocations: 3.374 MB / 0.5273 GB, free: 8.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.714e-05/0.3862, allocations: 16 kB / 0.5273 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.3862, allocations: 17.38 kB / 0.5273 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004097/0.3903, allocations: 0.8288 MB / 0.5281 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.3924, allocations: 0.5212 MB / 0.5287 GB, free: 6.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005962/0.3984, allocations: 3.609 MB / 0.5322 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.4001, allocations: 71.98 kB / 0.5323 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002661/0.4003, allocations: 120 kB / 0.5324 GB, free: 2.895 MB / 414.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.000901/0.4012, allocations: 404.5 kB / 0.5328 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003749/0.4016, allocations: 151 kB / 0.5329 GB, free: 2.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.4148, allocations: 3.329 MB / 0.5361 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.4148, allocations: 20 kB / 0.5362 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.4148, allocations: 0 / 0.5362 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.53e-05/0.4149, allocations: 11.97 kB / 0.5362 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.4305, allocations: 4.74 MB / 0.5408 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/0.4305, allocations: 0 / 0.5408 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001947/0.4325, allocations: 370.1 kB / 0.5412 GB, free: 9.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003931/0.4364, allocations: 0.7991 MB / 0.5419 GB, free: 9.152 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003445/0.4367, allocations: 70.67 kB / 0.542 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005537/0.4423, allocations: 3.498 MB / 0.5454 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4423, allocations: 0 / 0.5454 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.4568, allocations: 4.237 MB / 0.5496 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.4572, allocations: 138.9 kB / 0.5497 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/0.4574, allocations: 32 kB / 0.5497 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.4584, allocations: 43.98 kB / 0.5498 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005506/0.459, allocations: 201.6 kB / 0.55 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000199/0.4592, allocations: 85.25 kB / 0.55 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007695/0.4599, allocations: 0.5293 MB / 0.5506 GB, free: 136 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4599, allocations: 0 / 0.5506 GB, free: 136 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.003183/0.4631, allocations: 1.185 MB / 0.5517 GB, free: 14.94 MB / 446.1 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.00264/0.4658, allocations: 1.406 MB / 0.5531 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004946/0.4707, allocations: 2.341 MB / 0.5554 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4707, allocations: 4 kB / 0.5554 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0027/0.4734, allocations: 1.312 MB / 0.5567 GB, free: 9.895 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.475, allocations: 304.9 kB / 0.5569 GB, free: 9.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00664/0.4817, allocations: 3.296 MB / 0.5602 GB, free: 6.332 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008077/0.4825, allocations: 0.7477 MB / 0.5609 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001436/0.4839, allocations: 413.2 kB / 0.5613 GB, free: 5.285 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006586/0.4846, allocations: 266.9 kB / 0.5615 GB, free: 5.023 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4846, allocations: 0 / 0.5615 GB, free: 5.023 MB / 446.1 MB Notification: Performance of Templates: time 0.07522/0.5598, allocations: 46.69 MB / 0.6071 GB, free: 6.754 MB / 494.1 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Phosphate.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.438387226313353] Failed to read output from testmodel.py, exit status != 0: 0.5688429661095142 0.583715812 0.306855982 Calling exit ...