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.001311/0.001311, allocations: 104.3 kB / 19.7 MB, free: 2.008 MB / 14.72 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.001565/0.001565, allocations: 209.8 kB / 22.99 MB, free: 4.41 MB / 14.72 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.1386/0.1386, allocations: 23.93 MB / 337.1 MB, free: 10.92 MB / 270.1 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: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 70.39 kB / 472.5 MB, free: 6.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3215, allocations: 59.87 MB / 0.5199 GB, free: 9.785 MB / 382.1 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.095/0.4165, allocations: 47 MB / 0.5658 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1429/0.5594, allocations: 106.1 MB / 0.6694 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006381/0.5658, allocations: 99.19 kB / 0.6695 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007997/0.5738, allocations: 2.163 MB / 0.6716 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03249/0.6063, allocations: 10.17 MB / 0.6815 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.042/0.6483, allocations: 15.78 MB / 0.6969 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01627/0.6645, allocations: 10.54 MB / 0.7072 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00724/0.6718, allocations: 4.691 MB / 0.7118 GB, free: 4.52 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009313/0.6811, allocations: 5.449 MB / 0.7171 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.6918, allocations: 5.966 MB / 0.7229 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003664/0.6954, allocations: 0.8867 MB / 0.7238 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3041/0.9995, allocations: 13.38 MB / 0.7369 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003649/1.003, allocations: 2.133 MB / 0.739 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.009459/1.013, allocations: 3.883 MB / 0.7427 GB, free: 37.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05842/1.071, allocations: 24.86 MB / 0.767 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.071, allocations: 3.094 kB / 0.767 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.024e-06/1.071, allocations: 0.5 kB / 0.767 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004907/1.072, allocations: 0.5 kB / 0.767 GB, free: 35.77 MB / 0.5606 GB 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.02924/1.101, allocations: 10.63 MB / 0.7774 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/1.101, allocations: 8.438 kB / 0.7774 GB, free: 31.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.112, allocations: 1.949 MB / 0.7793 GB, free: 30.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009403/1.121, allocations: 3.523 MB / 0.7828 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006049/1.122, allocations: 0.5762 MB / 0.7833 GB, free: 29.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003641/1.126, allocations: 0.7354 MB / 0.784 GB, free: 29.94 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02361/1.149, allocations: 9.218 MB / 0.793 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/1.15, allocations: 9.469 kB / 0.793 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001842/1.151, allocations: 286.5 kB / 0.7933 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.152, allocations: 175 kB / 0.7935 GB, free: 29.4 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/1.176, allocations: 12.57 MB / 0.8058 GB, free: 29.09 MB / 0.5606 GB 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.0568/1.233, allocations: 24.09 MB / 0.8293 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03098/1.264, allocations: 17.09 MB / 0.846 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009344/1.273, allocations: 4.095 MB / 0.85 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05523/1.328, allocations: 19.53 MB / 0.8691 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.986e-05/1.328, allocations: 95.11 kB / 0.8691 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002528/1.331, allocations: 0.6156 MB / 0.8697 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 9.618e-06/1.331, allocations: 2.812 kB / 0.8698 GB, free: 5.207 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1191/1.45, allocations: 35.25 MB / 0.9042 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.45, allocations: 129.3 kB / 0.9043 GB, free: 2.113 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.455, allocations: 3.278 MB / 0.9075 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001396/1.456, allocations: 152.4 kB / 0.9076 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.458, allocations: 3.245 MB / 0.9108 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003712/1.462, allocations: 2.717 MB / 0.9135 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002936/1.465, allocations: 1.699 MB / 0.9151 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.465, allocations: 309.1 kB / 0.9154 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005418/1.471, allocations: 2.865 MB / 0.9182 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008349/1.479, allocations: 5.749 MB / 0.9238 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01597/1.495, allocations: 9.503 MB / 0.9331 GB, free: 2.562 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.281e-05/1.495, allocations: 28 kB / 0.9331 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02477/1.52, allocations: 10.7 MB / 0.9436 GB, free: 8.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/1.52, allocations: 44 kB / 0.9436 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/1.52, allocations: 88 kB / 0.9437 GB, free: 8.289 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008698/1.529, allocations: 1.819 MB / 0.9455 GB, free: 6.484 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.539, allocations: 2.318 MB / 0.9478 GB, free: 4.309 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/1.558, allocations: 12.09 MB / 0.9596 GB, free: 7.797 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006397/1.564, allocations: 296 kB / 0.9598 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001324/1.566, allocations: 0.5155 MB / 0.9603 GB, free: 6.992 MB / 0.6856 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.003282/1.569, allocations: 1.202 MB / 0.9615 GB, free: 5.922 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001737/1.571, allocations: 0.5744 MB / 0.9621 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02405/1.595, allocations: 10.1 MB / 0.972 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.46e-05/1.595, allocations: 76 kB / 0.972 GB, free: 11.24 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/1.595, allocations: 4 kB / 0.972 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/1.595, allocations: 39.84 kB / 0.9721 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3042/1.899, allocations: 14.6 MB / 0.9863 GB, free: 285.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.816e-05/1.899, allocations: 4.531 kB / 0.9863 GB, free: 285.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008345/1.908, allocations: 1.527 MB / 0.9878 GB, free: 285.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008578/1.916, allocations: 1.598 MB / 0.9894 GB, free: 285.4 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001752/1.918, allocations: 269.7 kB / 0.9896 GB, free: 285.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.932, allocations: 11.34 MB / 1.001 GB, free: 278.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.932, allocations: 3.719 kB / 1.001 GB, free: 278.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02844/1.961, allocations: 12.95 MB / 1.013 GB, free: 273 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004737/1.965, allocations: 1.238 MB / 1.015 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001934/1.967, allocations: 151.8 kB / 1.015 GB, free: 272.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004259/1.972, allocations: 150.5 kB / 1.015 GB, free: 272.4 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001251/1.973, allocations: 0.6043 MB / 1.015 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006351/1.974, allocations: 316.4 kB / 1.016 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003066/1.977, allocations: 1.867 MB / 1.018 GB, free: 271.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/1.977, allocations: 0 / 1.018 GB, free: 271.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01681/1.993, allocations: 5.101 MB / 1.023 GB, free: 271.1 MB / 0.7012 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.0144/2.008, allocations: 5.717 MB / 1.028 GB, free: 269.9 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0167/2.024, allocations: 8.41 MB / 1.036 GB, free: 266.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/2.025, allocations: 2.656 kB / 1.036 GB, free: 266.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.009121/2.034, allocations: 4.484 MB / 1.041 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00922/2.043, allocations: 1.169 MB / 1.042 GB, free: 264.1 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/2.067, allocations: 13.02 MB / 1.055 GB, free: 251.9 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00302/2.07, allocations: 2.704 MB / 1.057 GB, free: 250.1 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003849/2.074, allocations: 1.451 MB / 1.059 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.272e-06/2.074, allocations: 0 / 1.059 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.5062/2.58, allocations: 289.9 MB / 1.342 GB, free: 266.7 MB / 0.7012 GB " [Timeout remaining time 657] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 21.378864434023853] Failed to read output from testmodel.py, exit status != 0: 2.589835717983078 2.599964856 1.525972904 Calling exit ...