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.001471/0.001471, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00167/0.00167, allocations: 209.2 kB / 22.99 MB, free: 4.984 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.399/1.399, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.129/0.129, allocations: 23.93 MB / 337.1 MB, free: 10.95 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.002114/0.002114, allocations: 63.89 kB / 472.5 MB, free: 6.949 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2763, allocations: 59.88 MB / 0.5199 GB, free: 9.707 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.08947/0.3658, allocations: 46.91 MB / 0.5657 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.133/0.4988, allocations: 106.1 MB / 0.6693 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005425/0.5042, allocations: 103.1 kB / 0.6694 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006564/0.5108, allocations: 2.156 MB / 0.6715 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02773/0.5385, allocations: 10.18 MB / 0.6814 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.03887/0.5773, allocations: 15.77 MB / 0.6968 GB, free: 4.004 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01485/0.5922, allocations: 10.53 MB / 0.7071 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006346/0.5985, allocations: 4.702 MB / 0.7117 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007487/0.606, allocations: 5.441 MB / 0.717 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009109/0.6151, allocations: 5.966 MB / 0.7228 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002232/0.6174, allocations: 0.8867 MB / 0.7237 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2586/0.8759, allocations: 13.37 MB / 0.7368 GB, free: 37.26 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.8788, allocations: 2.14 MB / 0.7389 GB, free: 37.26 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006811/0.8856, allocations: 3.879 MB / 0.7427 GB, free: 37.26 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04479/0.9304, allocations: 24.86 MB / 0.7669 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9304, allocations: 4.438 kB / 0.7669 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.323e-06/0.9304, allocations: 2.156 kB / 0.7669 GB, free: 35.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003082/0.9307, allocations: 0 / 0.7669 GB, free: 35.71 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.02147/0.9522, allocations: 10.63 MB / 0.7773 GB, free: 31.26 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.9522, allocations: 9.875 kB / 0.7773 GB, free: 31.26 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/0.9615, allocations: 1.947 MB / 0.7792 GB, free: 30.79 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006606/0.9681, allocations: 3.516 MB / 0.7827 GB, free: 29.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.9685, allocations: 0.578 MB / 0.7832 GB, free: 29.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001498/0.97, allocations: 0.7415 MB / 0.7839 GB, free: 29.88 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0144/0.9844, allocations: 9.214 MB / 0.7929 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001339/0.9845, allocations: 6.031 kB / 0.7929 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008087/0.9853, allocations: 291.7 kB / 0.7932 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.9854, allocations: 170.8 kB / 0.7934 GB, free: 29.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/1.003, allocations: 12.58 MB / 0.8057 GB, free: 29.07 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.04133/1.045, allocations: 24.08 MB / 0.8292 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02768/1.072, allocations: 17.1 MB / 0.8459 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007323/1.08, allocations: 4.095 MB / 0.8499 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0491/1.129, allocations: 19.53 MB / 0.869 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.75e-05/1.129, allocations: 91.06 kB / 0.8691 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002567/1.131, allocations: 0.6169 MB / 0.8697 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.154e-05/1.131, allocations: 0 / 0.8697 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1169/1.248, allocations: 35.26 MB / 0.9041 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/1.248, allocations: 129.3 kB / 0.9042 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/1.253, allocations: 3.274 MB / 0.9074 GB, free: 15 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0008176/1.253, allocations: 148.4 kB / 0.9076 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002336/1.256, allocations: 3.246 MB / 0.9107 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.002763/1.258, allocations: 2.711 MB / 0.9134 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002604/1.261, allocations: 1.702 MB / 0.915 GB, free: 7.215 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001196/1.261, allocations: 309.1 kB / 0.9153 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/1.266, allocations: 2.861 MB / 0.9181 GB, free: 4.043 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008286/1.275, allocations: 5.75 MB / 0.9237 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.289, allocations: 9.511 MB / 0.933 GB, free: 2.746 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.106e-05/1.289, allocations: 28 kB / 0.9331 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02495/1.314, allocations: 10.69 MB / 0.9435 GB, free: 8.609 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.313e-05/1.314, allocations: 44 kB / 0.9435 GB, free: 8.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.911e-05/1.315, allocations: 91.09 kB / 0.9436 GB, free: 8.48 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009945/1.325, allocations: 1.818 MB / 0.9454 GB, free: 6.672 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01018/1.335, allocations: 2.324 MB / 0.9477 GB, free: 4.492 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01956/1.354, allocations: 12.08 MB / 0.9595 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006164/1.36, allocations: 288 kB / 0.9597 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001117/1.362, allocations: 0.5233 MB / 0.9603 GB, free: 7.172 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.002821/1.364, allocations: 1.208 MB / 0.9614 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.366, allocations: 0.5744 MB / 0.962 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02426/1.39, allocations: 10.1 MB / 0.9719 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-05/1.39, allocations: 76 kB / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.782e-05/1.39, allocations: 4 kB / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.39, allocations: 39.84 kB / 0.972 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2557/1.646, allocations: 14.59 MB / 0.9862 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-05/1.646, allocations: 3.312 kB / 0.9862 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008183/1.654, allocations: 1.529 MB / 0.9877 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009003/1.663, allocations: 1.599 MB / 0.9893 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001076/1.664, allocations: 267.9 kB / 0.9895 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/1.679, allocations: 11.35 MB / 1.001 GB, free: 279.4 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.679, allocations: 3.281 kB / 1.001 GB, free: 279.4 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02541/1.704, allocations: 12.96 MB / 1.013 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003361/1.707, allocations: 1.243 MB / 1.014 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000971/1.708, allocations: 146.2 kB / 1.015 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003137/1.712, allocations: 152 kB / 1.015 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001083/1.713, allocations: 0.6034 MB / 1.015 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005811/1.713, allocations: 312.4 kB / 1.016 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002406/1.716, allocations: 1.869 MB / 1.017 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/1.716, allocations: 0 / 1.017 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01224/1.728, allocations: 5.101 MB / 1.022 GB, free: 272.2 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.01065/1.739, allocations: 5.712 MB / 1.028 GB, free: 271.1 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01258/1.751, allocations: 8.416 MB / 1.036 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/1.751, allocations: 3.75 kB / 1.036 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006288/1.757, allocations: 4.481 MB / 1.041 GB, free: 265.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004959/1.762, allocations: 1.18 MB / 1.042 GB, free: 264.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01652/1.779, allocations: 12.88 MB / 1.054 GB, free: 252.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001974/1.781, allocations: 2.719 MB / 1.057 GB, free: 250.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.005698/1.787, allocations: 1.662 MB / 1.059 GB, free: 249.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002249/1.789, allocations: 1.132 MB / 1.06 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/1.789, allocations: 0 / 1.06 GB, free: 248.9 MB / 0.7012 GB Notification: Performance of Templates: time 0.1778/1.967, allocations: 173 MB / 1.229 GB, free: 79.29 MB / 0.7012 GB " [Timeout remaining time 658] 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 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.187389611004619] Failed to read output from testmodel.py, exit status != 0: 1.9752703340054723 1.983719037 1.050930496 Calling exit ...