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.001096/0.001096, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001797/0.002893, allocations: 435.8 kB / 10.33 MB, free: 368 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.001321/0.001321, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003974/0.005295, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.01/1.01, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09645/1.107, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.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.09686/0.09686, allocations: 17.36 MB / 261.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01113/0.108, allocations: 6.941 MB / 268.3 MB, free: 6.523 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 1.883e-06/1.883e-06, allocations: 3.938 kB / 269.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.142e-05, allocations: 2.312 kB / 269.6 MB, free: 5.211 MB / 266.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.1664/0.1664, allocations: 29.81 MB / 299.4 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1004/0.2669, allocations: 121.3 MB / 420.7 MB, free: 11.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005848/0.2727, allocations: 99.25 kB / 420.8 MB, free: 11 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006005/0.2787, allocations: 2.225 MB / 423 MB, free: 8.758 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2024/0.4811, allocations: 10.35 MB / 433.4 MB, free: 5.625 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0374/0.5185, allocations: 16.13 MB / 449.5 MB, free: 3.637 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01423/0.5327, allocations: 10.79 MB / 460.3 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00601/0.5387, allocations: 4.869 MB / 465.2 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01247/0.5512, allocations: 7.829 MB / 473 MB, free: 15.86 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008194/0.5594, allocations: 4.852 MB / 477.8 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003769/0.5631, allocations: 0.8848 MB / 478.7 MB, free: 15.54 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03405/0.5972, allocations: 13.73 MB / 492.5 MB, free: 13.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.6004, allocations: 1.449 MB / 493.9 MB, free: 13.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008433/0.6089, allocations: 2.576 MB / 496.5 MB, free: 11.45 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05156/0.6604, allocations: 21.19 MB / 0.5055 GB, free: 8.676 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.101e-05/0.6604, allocations: 4 kB / 0.5055 GB, free: 8.672 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6604, allocations: 0 / 0.5055 GB, free: 8.672 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003454/0.6608, allocations: 0 / 0.5055 GB, free: 8.672 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.0213/0.6821, allocations: 13.87 MB / 0.5191 GB, free: 11.18 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.6821, allocations: 16.03 kB / 0.5191 GB, free: 11.17 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007221/0.6893, allocations: 3.158 MB / 0.5222 GB, free: 8.035 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00549/0.6948, allocations: 2.672 MB / 0.5248 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003823/0.6952, allocations: 0.5764 MB / 0.5254 GB, free: 4.941 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.6966, allocations: 0.7418 MB / 0.5261 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007993/0.7046, allocations: 6.649 MB / 0.5326 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/0.7047, allocations: 11.64 kB / 0.5326 GB, free: 13.71 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005613/0.7052, allocations: 288.4 kB / 0.5329 GB, free: 13.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.189e-05/0.7053, allocations: 175.9 kB / 0.533 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008118/0.7134, allocations: 6.327 MB / 0.5392 GB, free: 6.93 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.03233/0.7458, allocations: 18.35 MB / 0.5571 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0228/0.7686, allocations: 19.06 MB / 0.5757 GB, free: 2.062 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005191/0.7738, allocations: 1.963 MB / 0.5777 GB, free: 152 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04272/0.8165, allocations: 16.2 MB / 0.5935 GB, free: 392 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.561e-05/0.8166, allocations: 95.06 kB / 0.5936 GB, free: 284 kB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001916/0.8185, allocations: 0.6151 MB / 0.5942 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=581): time 2.269e-05/0.8185, allocations: 4 kB / 0.5942 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=757): time 0.2668/1.085, allocations: 24.01 MB / 0.6176 GB, free: 121 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/1.085, allocations: 130.7 kB / 0.6177 GB, free: 121 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/1.088, allocations: 3.002 MB / 0.6207 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003924/1.088, allocations: 147.9 kB / 0.6208 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001254/1.089, allocations: 2.774 MB / 0.6235 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001481/1.091, allocations: 2.712 MB / 0.6262 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/1.092, allocations: 1.699 MB / 0.6278 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.238e-05/1.092, allocations: 308.7 kB / 0.6281 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001416/1.094, allocations: 1.132 MB / 0.6292 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/1.096, allocations: 4.069 MB / 0.6332 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005572/1.102, allocations: 6.631 MB / 0.6397 GB, free: 111 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-05/1.102, allocations: 26.91 kB / 0.6397 GB, free: 111 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.008386/1.11, allocations: 6.161 MB / 0.6457 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/1.11, allocations: 44.62 kB / 0.6458 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/1.11, allocations: 95.67 kB / 0.6459 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00469/1.115, allocations: 1.855 MB / 0.6477 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.121, allocations: 2.757 MB / 0.6504 GB, free: 110.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006942/1.128, allocations: 9.307 MB / 0.6595 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004728/1.133, allocations: 292.1 kB / 0.6597 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009372/1.134, allocations: 442.2 kB / 0.6602 GB, free: 103.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.002374/1.136, allocations: 0.6993 MB / 0.6608 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.137, allocations: 0.5549 MB / 0.6614 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008639/1.146, allocations: 6.076 MB / 0.6673 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.621e-05/1.146, allocations: 79.78 kB / 0.6674 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.211e-05/1.146, allocations: 3.938 kB / 0.6674 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.263e-05/1.146, allocations: 41.72 kB / 0.6674 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.159, allocations: 8.317 MB / 0.6756 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/1.159, allocations: 5.062 kB / 0.6756 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/1.163, allocations: 1.852 MB / 0.6774 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002394/1.166, allocations: 0.8041 MB / 0.6781 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004399/1.17, allocations: 1.657 MB / 0.6798 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006553/1.171, allocations: 250.2 kB / 0.68 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006399/1.177, allocations: 8.88 MB / 0.6887 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.177, allocations: 4.391 kB / 0.6887 GB, free: 94.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008671/1.186, allocations: 6.842 MB / 0.6954 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008888/1.187, allocations: 146.3 kB / 0.6955 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.189, allocations: 150.6 kB / 0.6956 GB, free: 93.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000582/1.189, allocations: 0.5952 MB / 0.6962 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003914/1.19, allocations: 250.6 kB / 0.6965 GB, free: 92.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001041/1.191, allocations: 1.373 MB / 0.6978 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3e-08/1.191, allocations: 0 / 0.6978 GB, free: 92.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01294/1.204, allocations: 5.102 MB / 0.7028 GB, free: 88.48 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.01106/1.215, allocations: 6.336 MB / 0.709 GB, free: 83.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009068/1.224, allocations: 5.56 MB / 0.7144 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0003956/1.224, allocations: 123.6 kB / 0.7145 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003728/1.228, allocations: 3.109 MB / 0.7176 GB, free: 75.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004128/1.232, allocations: 1.949 MB / 0.7195 GB, free: 73.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03992/1.272, allocations: 11.47 MB / 0.7307 GB, free: 63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009034/1.273, allocations: 1.103 MB / 0.7317 GB, free: 61.87 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004944/1.278, allocations: 1.634 MB / 0.7333 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003121/1.281, allocations: 2.001 MB / 0.7353 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of SimCode: time 2.986e-06/1.281, allocations: 0 / 0.7353 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.3575/1.638, allocations: 193.7 MB / 0.9245 GB, free: 34.66 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: 8.842616983689368]