Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.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.00069/0.00069, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.001727, allocations: 440 kB / 10.41 MB, free: 284 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.0006428/0.0006428, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008846/0.001527, allocations: 475.6 kB / 11.8 MB, free: 2.375 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.9181/0.9181, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/1.035, allocations: 53.67 MB / 243.4 MB, free: 15.48 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.09473/0.09473, allocations: 17.45 MB / 261.6 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01099/0.1057, allocations: 6.974 MB / 268.6 MB, free: 6.281 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.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.71e-07/7.71e-07, allocations: 0 / 269.9 MB, free: 4.949 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.747e-05, allocations: 5.688 kB / 269.9 MB, free: 4.945 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.Dev.RedCellMembrane): time 0.1349/0.1349, allocations: 29.81 MB / 299.7 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.09445/0.2293, allocations: 121.3 MB / 421 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.2339, allocations: 95.25 kB / 421.1 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004267/0.2382, allocations: 2.233 MB / 423.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1898/0.428, allocations: 10.35 MB / 433.7 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03136/0.4594, allocations: 16.13 MB / 449.8 MB, free: 3.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01023/0.4696, allocations: 10.79 MB / 460.6 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004486/0.4741, allocations: 4.861 MB / 465.5 MB, free: 196 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006547/0.4806, allocations: 7.832 MB / 473.3 MB, free: 15.55 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00467/0.4853, allocations: 4.841 MB / 478.2 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001526/0.4868, allocations: 0.8871 MB / 479 MB, free: 15.24 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02697/0.5138, allocations: 13.74 MB / 492.8 MB, free: 13.27 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.5166, allocations: 1.459 MB / 494.3 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004869/0.5214, allocations: 2.572 MB / 496.8 MB, free: 10.94 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04736/0.5688, allocations: 21.19 MB / 0.5059 GB, free: 8.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.248e-05/0.5688, allocations: 0 / 0.5059 GB, free: 8.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5688, allocations: 0 / 0.5059 GB, free: 8.023 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002416/0.569, allocations: 0 / 0.5059 GB, free: 8.023 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1818 * Number of variables: 1818 Notification: Performance of Generate backend data structure: time 0.01517/0.5842, allocations: 13.86 MB / 0.5194 GB, free: 10.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5843, allocations: 12.03 kB / 0.5194 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006334/0.5906, allocations: 3.167 MB / 0.5225 GB, free: 7.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003755/0.5943, allocations: 2.668 MB / 0.5251 GB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002775/0.5946, allocations: 0.5802 MB / 0.5257 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007526/0.5954, allocations: 0.7404 MB / 0.5264 GB, free: 3.566 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/0.6015, allocations: 6.663 MB / 0.5329 GB, free: 13.06 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.599e-05/0.6016, allocations: 7.281 kB / 0.5329 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004566/0.6021, allocations: 290.2 kB / 0.5332 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.82e-05/0.6021, allocations: 176 kB / 0.5334 GB, free: 12.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006329/0.6085, allocations: 6.318 MB / 0.5395 GB, free: 6.285 MB / 474.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.02129/0.6298, allocations: 18.36 MB / 0.5575 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01879/0.6485, allocations: 19.05 MB / 0.5761 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001962/0.6505, allocations: 1.961 MB / 0.578 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02316/0.6737, allocations: 16.2 MB / 0.5938 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.6737, allocations: 91.12 kB / 0.5939 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001182/0.6749, allocations: 0.6225 MB / 0.5945 GB, free: 15 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 8.205e-06/0.6749, allocations: 0 / 0.5945 GB, free: 15 MB / 0.5261 GB Notification: Performance of matching and sorting (n=732): time 0.2291/0.904, allocations: 31.29 MB / 0.625 GB, free: 124 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.904, allocations: 125.1 kB / 0.6252 GB, free: 124 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/0.9057, allocations: 2.996 MB / 0.6281 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.9059, allocations: 145.1 kB / 0.6282 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007917/0.9067, allocations: 2.776 MB / 0.6309 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009463/0.9077, allocations: 2.626 MB / 0.6335 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.9089, allocations: 1.681 MB / 0.6351 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 2.453e-05/0.9089, allocations: 303 kB / 0.6354 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001202/0.9101, allocations: 1.114 MB / 0.6365 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.9121, allocations: 4.023 MB / 0.6404 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/0.9165, allocations: 6.838 MB / 0.6471 GB, free: 114 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.667e-05/0.9165, allocations: 23.12 kB / 0.6471 GB, free: 114 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.007064/0.9236, allocations: 6.105 MB / 0.6531 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.79e-05/0.9236, allocations: 46.34 kB / 0.6531 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-05/0.9237, allocations: 94.41 kB / 0.6532 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00444/0.9282, allocations: 1.85 MB / 0.655 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004765/0.9329, allocations: 2.706 MB / 0.6577 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.9391, allocations: 9.318 MB / 0.6668 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.9419, allocations: 286.2 kB / 0.6671 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004161/0.9424, allocations: 432.4 kB / 0.6675 GB, free: 106.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 413 * 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 (1118): * Single equations (assignments): 1112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,27), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001298/0.9436, allocations: 0.6932 MB / 0.6682 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005947/0.9442, allocations: 0.5456 MB / 0.6687 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007195/0.9514, allocations: 5.928 MB / 0.6745 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.86e-05/0.9515, allocations: 78.09 kB / 0.6745 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9515, allocations: 2.656 kB / 0.6746 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.099e-05/0.9515, allocations: 37.45 kB / 0.6746 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.9616, allocations: 8.278 MB / 0.6827 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/0.9616, allocations: 5.703 kB / 0.6827 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/0.965, allocations: 1.802 MB / 0.6844 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.9661, allocations: 0.7933 MB / 0.6852 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/0.97, allocations: 1.647 MB / 0.6868 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000258/0.9702, allocations: 246.7 kB / 0.6871 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005133/0.9754, allocations: 8.883 MB / 0.6957 GB, free: 95.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.9754, allocations: 4 kB / 0.6957 GB, free: 95.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00674/0.9821, allocations: 6.774 MB / 0.7023 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/0.9826, allocations: 146.8 kB / 0.7025 GB, free: 88.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.9841, allocations: 145.7 kB / 0.7026 GB, free: 88.83 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005449/0.9846, allocations: 0.5852 MB / 0.7032 GB, free: 88.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002962/0.9849, allocations: 248.9 kB / 0.7034 GB, free: 88.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000723/0.9857, allocations: 1.367 MB / 0.7048 GB, free: 87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9e-08/0.9857, allocations: 4 kB / 0.7048 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0079/0.9936, allocations: 5.067 MB / 0.7097 GB, free: 82.79 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (blood_erythrocytes.temperature,blood_erythrocytes.mass,blood_plasma.temperature,HCO3.logn,H2O.logn,HCO3_E.logn,H2O_E.logn,Cl_E.logn,Cl.logn,albumin.logn,permeableUncharged.logn,permeableUncharged_E.logn,chargedImpermeable_E.logn,Lac_E.logn,Lac.logn,H_E.logn,H.logn,CO2.logn,CO2_E.logn,O2.logn,O2_E.logn,K.logn,Na.logn,Na_E.logn,K_E.logn,H2PO4_E.logn,ADP_E.logn,ATP_E.logn,HPO4_E.logn,globulins.logn,Ca.logn,Mg.logn,DPG.logn,GSH.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 (736): * Single equations (assignments): 730 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,20,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(4,33), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005861/0.9994, allocations: 6.321 MB / 0.7159 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00489/1.004, allocations: 5.599 MB / 0.7214 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0001301/1.004, allocations: 119.8 kB / 0.7215 GB, free: 72.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.007, allocations: 3.633 MB / 0.725 GB, free: 69.11 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003577/1.011, allocations: 7.541 MB / 0.7324 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03578/1.046, allocations: 11.3 MB / 0.7434 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006377/1.047, allocations: 1.086 MB / 0.7445 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003971/1.051, allocations: 1.628 MB / 0.7461 GB, free: 47.53 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/1.054, allocations: 1.974 MB / 0.748 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of SimCode: time 2.505e-06/1.054, allocations: 0 / 0.748 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of Templates: time 0.3122/1.366, allocations: 193.9 MB / 0.9373 GB, free: 21.57 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.113656885921955]