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.0009402/0.0009402, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001196/0.001196, allocations: 169 kB / 23.49 MB, free: 1.055 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.9321/0.9321, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09481/0.09481, allocations: 17.47 MB / 277.7 MB, free: 11.61 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 1.443e-06/1.443e-06, allocations: 0 / 353.6 MB, free: 10.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.591e-05, allocations: 2.312 kB / 353.6 MB, free: 10.12 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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 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.04008/0.0401, allocations: 53.62 MB / 407.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2077/0.2478, allocations: 122 MB / 0.5168 GB, free: 10.18 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004031/0.2519, allocations: 99.19 kB / 0.5169 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004081/0.256, allocations: 2.188 MB / 0.519 GB, free: 7.891 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02144/0.2774, allocations: 10.53 MB / 0.5293 GB, free: 13.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03135/0.3087, allocations: 16.23 MB / 0.5452 GB, free: 13.21 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01146/0.3202, allocations: 10.89 MB / 0.5558 GB, free: 2.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1674/0.4876, allocations: 4.798 MB / 0.5605 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.5, allocations: 7.4 MB / 0.5677 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008928/0.509, allocations: 4.906 MB / 0.5725 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002888/0.5119, allocations: 0.8851 MB / 0.5734 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02669/0.5385, allocations: 13.15 MB / 0.5862 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.5416, allocations: 2.167 MB / 0.5883 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005383/0.547, allocations: 3.364 MB / 0.5916 GB, free: 10.92 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04416/0.5911, allocations: 23.31 MB / 0.6144 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.5911, allocations: 0 / 0.6144 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5911, allocations: 4.938 kB / 0.6144 GB, free: 8.305 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002852/0.5914, allocations: 0 / 0.6144 GB, free: 8.305 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.01774/0.6092, allocations: 10.77 MB / 0.6249 GB, free: 3.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.6092, allocations: 8.031 kB / 0.6249 GB, free: 3.152 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009287/0.6185, allocations: 3.217 MB / 0.628 GB, free: 476 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007342/0.6258, allocations: 3.593 MB / 0.6315 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004654/0.6263, allocations: 0.5764 MB / 0.6321 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/0.6284, allocations: 0.7356 MB / 0.6328 GB, free: 12.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/0.6413, allocations: 7.319 MB / 0.64 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.6414, allocations: 7.172 kB / 0.64 GB, free: 5.398 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006155/0.642, allocations: 293.5 kB / 0.6403 GB, free: 5.113 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.6421, allocations: 173.4 kB / 0.6404 GB, free: 4.945 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01475/0.6569, allocations: 8.423 MB / 0.6487 GB, free: 12.53 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.03963/0.6965, allocations: 23.65 MB / 0.6718 GB, free: 5.281 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.024/0.7205, allocations: 20.49 MB / 0.6918 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004884/0.7254, allocations: 2.674 MB / 0.6944 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03041/0.7558, allocations: 18.54 MB / 0.7125 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.763e-05/0.7559, allocations: 93.95 kB / 0.7126 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002116/0.758, allocations: 0.6279 MB / 0.7132 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=581): time 1.753e-05/0.758, allocations: 3.375 kB / 0.7132 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.06481/0.8228, allocations: 26.4 MB / 0.739 GB, free: 0.5898 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/0.8229, allocations: 129.3 kB / 0.7391 GB, free: 460 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1526/0.9755, allocations: 3.267 MB / 0.7423 GB, free: 226.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/0.9769, allocations: 151.4 kB / 0.7424 GB, free: 226.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.9787, allocations: 3.333 MB / 0.7457 GB, free: 225.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002497/0.9812, allocations: 2.68 MB / 0.7483 GB, free: 224.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002843/0.984, allocations: 1.705 MB / 0.75 GB, free: 223.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.984, allocations: 479.2 kB / 0.7504 GB, free: 223.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003382/0.9874, allocations: 1.724 MB / 0.7521 GB, free: 223.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/0.9917, allocations: 5.762 MB / 0.7577 GB, free: 218.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008479/1, allocations: 8.626 MB / 0.7661 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.782e-05/1, allocations: 27.22 kB / 0.7662 GB, free: 212.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01383/1.014, allocations: 8.777 MB / 0.7747 GB, free: 210 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/1.014, allocations: 44.16 kB / 0.7748 GB, free: 210 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.512e-05/1.014, allocations: 88.78 kB / 0.7749 GB, free: 210 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005927/1.02, allocations: 1.878 MB / 0.7767 GB, free: 209.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006602/1.027, allocations: 2.326 MB / 0.779 GB, free: 209.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/1.04, allocations: 13.27 MB / 0.7919 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006988/1.047, allocations: 293.4 kB / 0.7922 GB, free: 197.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001053/1.048, allocations: 0.5183 MB / 0.7927 GB, free: 197.7 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.002175/1.05, allocations: 0.7381 MB / 0.7934 GB, free: 197.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001416/1.052, allocations: 0.8063 MB / 0.7942 GB, free: 196.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.063, allocations: 8.033 MB / 0.8021 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.409e-05/1.063, allocations: 80.56 kB / 0.8022 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.063, allocations: 4 kB / 0.8022 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.34e-05/1.063, allocations: 41.19 kB / 0.8022 GB, free: 192.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/1.08, allocations: 12.02 MB / 0.8139 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/1.08, allocations: 7.938 kB / 0.8139 GB, free: 182.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003667/1.084, allocations: 1.542 MB / 0.8154 GB, free: 181 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004863/1.088, allocations: 1.662 MB / 0.8171 GB, free: 179.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004489/1.089, allocations: 263.9 kB / 0.8173 GB, free: 179.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007452/1.096, allocations: 12.72 MB / 0.8297 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/1.096, allocations: 7.938 kB / 0.8298 GB, free: 165.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.108, allocations: 9.316 MB / 0.8388 GB, free: 156.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001996/1.11, allocations: 1.239 MB / 0.8401 GB, free: 155.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005538/1.111, allocations: 151.9 kB / 0.8402 GB, free: 155 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.112, allocations: 150.7 kB / 0.8403 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006668/1.113, allocations: 0.6066 MB / 0.8409 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003402/1.113, allocations: 319.8 kB / 0.8412 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001433/1.115, allocations: 1.633 MB / 0.8428 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.2e-07/1.115, allocations: 0 / 0.8428 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009691/1.125, allocations: 5.102 MB / 0.8478 GB, free: 147.6 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.01021/1.135, allocations: 5.935 MB / 0.8536 GB, free: 142.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01016/1.145, allocations: 6.996 MB / 0.8605 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.145, allocations: 0 / 0.8605 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004597/1.149, allocations: 3.95 MB / 0.8643 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004521/1.154, allocations: 1.325 MB / 0.8656 GB, free: 130.1 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.01868/1.173, allocations: 11.56 MB / 0.8769 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007405/1.173, allocations: 1.079 MB / 0.8779 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007804/1.181, allocations: 1.66 MB / 0.8796 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004997/1.186, allocations: 1.126 MB / 0.8807 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.342e-06/1.186, allocations: 4 kB / 0.8807 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.2951/1.481, allocations: 165.7 MB / 1.042 GB, free: 195.7 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.973763541085646]