Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.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.0009296/0.0009296, allocations: 77.95 kB / 20.67 MB, free: 3.836 MB / 18.57 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.001645/0.001645, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.8978/0.8978, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.05326/0.05326, allocations: 12.77 MB / 273.8 MB, free: 124 kB / 250.7 MB " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.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(Bodylight.Chemical.Examples.AcidBase.AlbuminTitration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration") translateModel(Bodylight.Chemical.Examples.AcidBase.AlbuminTitration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 347.9 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.306e-05, allocations: 4.703 kB / 347.9 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.AcidBase.AlbuminTitration): time 0.002862/0.002875, allocations: 3.337 MB / 351.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.00653, allocations: 3.657 MB / 354.9 MB, free: 9.914 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001875/0.006717, allocations: 19.81 kB / 355 MB, free: 9.895 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.006901, allocations: 67.3 kB / 355 MB, free: 9.828 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.H3O.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.H3O.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.H3O.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.A.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.A.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.HA.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.HA.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.HA.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.001154/0.008056, allocations: 0.5751 MB / 355.6 MB, free: 9.25 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.H3O.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.H3O.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.A.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.A.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.HA.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.HA.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.00902, allocations: 0.5957 MB / 356.2 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.238/0.247, allocations: 75.6 MB / 431.8 MB, free: 16.42 MB / 330.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01029/0.2573, allocations: 9.312 MB / 441.1 MB, free: 14.72 MB / 330.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0419/0.2992, allocations: 36.9 MB / 478 MB, free: 14.37 MB / 346.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.06182/0.361, allocations: 64.88 MB / 0.5302 GB, free: 14.09 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 0.01042/0.3714, allocations: 3.199 MB / 0.5333 GB, free: 10.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01674/0.3881, allocations: 3.527 MB / 0.5367 GB, free: 7.363 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.01857/0.4067, allocations: 14.69 MB / 0.5511 GB, free: 8.641 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.2949/0.7016, allocations: 18.71 MB / 0.5693 GB, free: 56.29 MB / 426.9 MB Notification: Performance of NFConvertDAE.convert: time 0.05572/0.7573, allocations: 56.83 MB / 0.6248 GB, free: 47.59 MB / 426.9 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.7573, allocations: 0 / 0.6248 GB, free: 47.59 MB / 426.9 MB Notification: Performance of FrontEnd: time 1.001e-06/0.7573, allocations: 0 / 0.6248 GB, free: 47.59 MB / 426.9 MB Notification: Performance of Transformations before backend: time 0.002707/0.76, allocations: 0 / 0.6248 GB, free: 47.59 MB / 426.9 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7426 * Number of variables: 7426 Notification: Performance of Generate backend data structure: time 0.08955/0.8495, allocations: 64.74 MB / 0.6881 GB, free: 12.4 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.8496, allocations: 11.98 kB / 0.6881 GB, free: 12.39 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/0.8674, allocations: 10.01 MB / 0.6979 GB, free: 2.34 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06078/0.9282, allocations: 34.03 MB / 0.7311 GB, free: 152 kB / 474.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.1343/1.063, allocations: 2.365 MB / 0.7334 GB, free: 121.7 MB / 474.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006929/1.069, allocations: 3.213 MB / 0.7365 GB, free: 121.7 MB / 474.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03543/1.105, allocations: 22.92 MB / 0.7589 GB, free: 117.9 MB / 474.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004536/1.105, allocations: 36.69 kB / 0.7589 GB, free: 117.9 MB / 474.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001987/1.107, allocations: 1.154 MB / 0.7601 GB, free: 117.9 MB / 474.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003583/1.108, allocations: 0.6971 MB / 0.7608 GB, free: 117.9 MB / 474.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01658/1.124, allocations: 9.029 MB / 0.7696 GB, free: 117.4 MB / 474.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.178/1.302, allocations: 125.4 MB / 0.892 GB, free: 9.75 MB / 474.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01281/1.315, allocations: 12.38 MB / 0.9041 GB, free: 10.61 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00547/1.321, allocations: 4.997 MB / 0.909 GB, free: 4.672 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006434/1.321, allocations: 373.9 kB / 0.9093 GB, free: 4.305 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002458/1.321, allocations: 471.5 kB / 0.9098 GB, free: 3.828 MB / 490.9 MB Notification: Performance of pre-optimization done (n=1533): time 2.062e-05/1.322, allocations: 4 kB / 0.9098 GB, free: 3.824 MB / 490.9 MB Notification: Performance of matching and sorting (n=2409): time 1.813/3.135, allocations: 341.2 MB / 1.243 GB, free: 49.78 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006557/3.136, allocations: 5.921 MB / 1.249 GB, free: 42.79 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05843/3.194, allocations: 53.49 MB / 1.301 GB, free: 12.93 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 0.004449/3.199, allocations: 0.5739 MB / 1.302 GB, free: 12.77 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 0.1842/3.383, allocations: 32.46 MB / 1.333 GB, free: 115.7 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 0.01752/3.4, allocations: 12.51 MB / 1.345 GB, free: 111.4 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02266/3.423, allocations: 11.5 MB / 1.357 GB, free: 110.5 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/3.423, allocations: 485.5 kB / 1.357 GB, free: 110.1 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01576/3.439, allocations: 5.229 MB / 1.362 GB, free: 110 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02178/3.461, allocations: 37.53 MB / 1.399 GB, free: 70.7 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04473/3.505, allocations: 62.33 MB / 1.46 GB, free: 28.87 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007083/3.506, allocations: 204.7 kB / 1.46 GB, free: 28.87 MB / 0.5419 GB Notification: Performance of matching and sorting (n=6120) (initialization): time 0.8771/4.383, allocations: 198.9 MB / 1.654 GB, free: 31.34 MB / 0.5731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004312/4.383, allocations: 314.6 kB / 1.655 GB, free: 31.34 MB / 0.5731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007248/4.384, allocations: 0.7013 MB / 1.655 GB, free: 31.34 MB / 0.5731 GB Notification: Tearing is skipped for strong component 2 because system size of 873 exceeds maximum system size for tearing of linear systems (200). To adjust the maximum system size for tearing use --maxSizeLinearTearing=. Notification: Performance of postOpt tearingSystem (initialization): time 4.936/9.32, allocations: 3.554 GB / 5.21 GB, free: 79.61 MB / 0.6825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01466/9.335, allocations: 7.781 MB / 5.217 GB, free: 73.59 MB / 0.6825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1576/9.493, allocations: 75.99 MB / 5.291 GB, free: 34.77 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03529/9.528, allocations: 2.694 MB / 5.294 GB, free: 32.47 MB / 0.6825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007105/9.535, allocations: 2.178 MB / 5.296 GB, free: 30.48 MB / 0.6825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3277 * 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 (4376): * Single equations (assignments): 4374 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(873,0.3%)} * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(437,436)} Notification: Performance of prepare postOptimizeDAE: time 0.01496/9.55, allocations: 3.352 MB / 5.299 GB, free: 28.07 MB / 0.6825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01347/9.564, allocations: 6.236 MB / 5.306 GB, free: 21.82 MB / 0.6825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/9.577, allocations: 7.497 MB / 5.313 GB, free: 15.09 MB / 0.6825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001485/9.577, allocations: 179.5 kB / 5.313 GB, free: 15.03 MB / 0.6825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/9.577, allocations: 48 kB / 5.313 GB, free: 14.98 MB / 0.6825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02182/9.599, allocations: 8.826 MB / 5.322 GB, free: 7.328 MB / 0.6825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01055/9.609, allocations: 0.6223 MB / 5.322 GB, free: 6.785 MB / 0.6825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2186/9.828, allocations: 0.9615 MB / 5.323 GB, free: 208.6 MB / 0.6825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01142/9.839, allocations: 3.312 MB / 5.326 GB, free: 208.6 MB / 0.6825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.07712/9.916, allocations: 54.15 MB / 5.379 GB, free: 182 MB / 0.6825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.04723/9.964, allocations: 52.28 MB / 5.43 GB, free: 152.9 MB / 0.6825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008752/9.972, allocations: 4.056 MB / 5.434 GB, free: 152.6 MB / 0.6825 GB Notification: Performance of sorting global known variables: time 0.03525/10.01, allocations: 32.98 MB / 5.467 GB, free: 147.9 MB / 0.6825 GB Notification: Performance of Backend: time 5.71e-07/10.01, allocations: 0 / 5.467 GB, free: 147.9 MB / 0.6825 GB Notification: Performance of simCode: created initialization part: time 0.09006/10.1, allocations: 35.21 MB / 5.501 GB, free: 123 MB / 0.6825 GB Error: Error parsing unit kcal: Unit not found Error: Error parsing unit meq: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Notification: Performance of SimCode: time 0.323/10.42, allocations: 127.1 MB / 5.625 GB, free: 187.3 MB / 0.6825 GB Notification: Performance of Templates: time 2.023/12.44, allocations: 1.194 GB / 6.819 GB, free: 163.7 MB / 0.6825 GB " [Timeout remaining time 648] make -j1 -f Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.makefile [Timeout 660] (rm -f Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.pipe ; mkfifo Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.pipe ; head -c 1048576 < Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.pipe >> ../files/Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.sim & ./Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Bodylight_Bodylight.Chemical.Examples.AcidBase.AlbuminTitration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 38.0140479542315]