Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001465/0.001465, allocations: 93.06 kB / 19.65 MB, free: 276 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.0017/0.0017, allocations: 169 kB / 23.02 MB, free: 1.543 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.97/0.97, allocations: 177.1 MB / 203.4 MB, free: 5.574 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.08374/0.08374, allocations: 17.38 MB / 277.3 MB, free: 11.65 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.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 353.5 MB, free: 9.941 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.352e-05, allocations: 2.312 kB / 353.5 MB, free: 9.938 MB / 282.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.Dev.RedCellMembrane): time 0.0626/0.06263, allocations: 53.89 MB / 407.4 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2239/0.2866, allocations: 122.8 MB / 0.5177 GB, free: 9.195 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003729/0.2903, allocations: 99.25 kB / 0.5178 GB, free: 9.098 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003989/0.2943, allocations: 2.186 MB / 0.5199 GB, free: 6.902 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02037/0.3147, allocations: 10.55 MB / 0.5302 GB, free: 12.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03393/0.3486, allocations: 16.25 MB / 0.5461 GB, free: 12.17 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01729/0.3659, allocations: 10.88 MB / 0.5567 GB, free: 1.238 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1784/0.5443, allocations: 4.806 MB / 0.5614 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.5546, allocations: 7.395 MB / 0.5687 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006933/0.5615, allocations: 4.902 MB / 0.5734 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001918/0.5634, allocations: 0.8849 MB / 0.5743 GB, free: 10.65 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02797/0.5914, allocations: 13.15 MB / 0.5872 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0029/0.5943, allocations: 2.166 MB / 0.5893 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00505/0.5993, allocations: 3.374 MB / 0.5926 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0434/0.6427, allocations: 23.32 MB / 0.6153 GB, free: 8.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.6427, allocations: 3.375 kB / 0.6153 GB, free: 8.008 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6427, allocations: 0 / 0.6153 GB, free: 8.008 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.6429, allocations: 0.8125 kB / 0.6153 GB, free: 8.008 MB / 426.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.01209/0.6549, allocations: 10.77 MB / 0.6259 GB, free: 3.102 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.655, allocations: 12.03 kB / 0.6259 GB, free: 3.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006257/0.6612, allocations: 3.212 MB / 0.629 GB, free: 148 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00387/0.6651, allocations: 3.571 MB / 0.6325 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003159/0.6654, allocations: 0.5764 MB / 0.6331 GB, free: 12.82 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008393/0.6663, allocations: 0.7327 MB / 0.6338 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00822/0.6745, allocations: 7.321 MB / 0.6409 GB, free: 4.992 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.842e-05/0.6746, allocations: 6.906 kB / 0.6409 GB, free: 4.988 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.6751, allocations: 280.4 kB / 0.6412 GB, free: 4.715 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-05/0.6752, allocations: 183.9 kB / 0.6414 GB, free: 4.535 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009611/0.6848, allocations: 8.428 MB / 0.6496 GB, free: 12.11 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.02512/0.7099, allocations: 23.64 MB / 0.6727 GB, free: 4.883 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02097/0.7309, allocations: 20.49 MB / 0.6927 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003646/0.7345, allocations: 2.674 MB / 0.6953 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02689/0.7614, allocations: 18.55 MB / 0.7134 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.43e-05/0.7615, allocations: 97.33 kB / 0.7135 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/0.7632, allocations: 0.62 MB / 0.7141 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=581): time 1.646e-05/0.7632, allocations: 0 / 0.7141 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.04867/0.8119, allocations: 26.39 MB / 0.7399 GB, free: 196 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.647e-05/0.812, allocations: 129.3 kB / 0.74 GB, free: 52 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1744/0.9864, allocations: 3.271 MB / 0.7432 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001032/0.9874, allocations: 148 kB / 0.7434 GB, free: 130 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001278/0.9887, allocations: 3.338 MB / 0.7466 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00149/0.9902, allocations: 2.679 MB / 0.7492 GB, free: 128 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001856/0.9921, allocations: 1.707 MB / 0.7509 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.718e-05/0.9921, allocations: 483.1 kB / 0.7514 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002581/0.9947, allocations: 1.728 MB / 0.753 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003649/0.9983, allocations: 5.75 MB / 0.7587 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006968/1.005, allocations: 8.629 MB / 0.7671 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.889e-05/1.005, allocations: 24.62 kB / 0.7671 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01407/1.019, allocations: 8.777 MB / 0.7757 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-05/1.019, allocations: 44.78 kB / 0.7757 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/1.02, allocations: 89.97 kB / 0.7758 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/1.025, allocations: 1.874 MB / 0.7776 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006009/1.031, allocations: 2.332 MB / 0.7799 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008722/1.04, allocations: 13.26 MB / 0.7929 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004844/1.045, allocations: 288.3 kB / 0.7931 GB, free: 106 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001044/1.046, allocations: 0.5246 MB / 0.7937 GB, free: 106 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 (1143): * Single equations (assignments): 1137 * 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.002201/1.048, allocations: 0.743 MB / 0.7944 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.049, allocations: 0.8071 MB / 0.7952 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/1.067, allocations: 8.03 MB / 0.803 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.586e-05/1.067, allocations: 80.12 kB / 0.8031 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.442e-05/1.067, allocations: 6.562 kB / 0.8031 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001835/1.067, allocations: 39.28 kB / 0.8031 GB, free: 105 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03275/1.1, allocations: 12.03 MB / 0.8149 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.784e-05/1.1, allocations: 3.844 kB / 0.8149 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006248/1.107, allocations: 1.539 MB / 0.8164 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007003/1.114, allocations: 1.667 MB / 0.818 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001409/1.115, allocations: 263.8 kB / 0.8183 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007683/1.123, allocations: 12.72 MB / 0.8307 GB, free: 90.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.123, allocations: 4 kB / 0.8307 GB, free: 90.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.136, allocations: 9.31 MB / 0.8398 GB, free: 82.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/1.138, allocations: 1.236 MB / 0.841 GB, free: 81.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006595/1.139, allocations: 152 kB / 0.8411 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.14, allocations: 156.1 kB / 0.8413 GB, free: 80.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006924/1.141, allocations: 0.6094 MB / 0.8419 GB, free: 80.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003878/1.141, allocations: 315.9 kB / 0.8422 GB, free: 80.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001535/1.143, allocations: 1.629 MB / 0.8438 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/1.143, allocations: 0 / 0.8438 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009978/1.153, allocations: 5.103 MB / 0.8487 GB, free: 74.15 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 (761): * Single equations (assignments): 755 * 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.01197/1.165, allocations: 5.939 MB / 0.8545 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01017/1.175, allocations: 7.002 MB / 0.8614 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/1.175, allocations: 0 / 0.8614 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00446/1.18, allocations: 3.947 MB / 0.8652 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/1.184, allocations: 1.32 MB / 0.8665 GB, free: 57.14 MB / 0.5261 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/1.199, allocations: 11.57 MB / 0.8778 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009479/1.2, allocations: 1.076 MB / 0.8789 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01213/1.212, allocations: 1.651 MB / 0.8805 GB, free: 42.81 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005465/1.218, allocations: 1.145 MB / 0.8816 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of SimCode: time 2.023e-06/1.218, allocations: 0 / 0.8816 GB, free: 41.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.3655/1.583, allocations: 187.1 MB / 1.064 GB, free: 19.23 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.035889687016606]