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.001502/0.001502, allocations: 77.33 kB / 19.76 MB, free: 2.031 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.001625/0.001625, allocations: 155.9 kB / 23.01 MB, free: 4.961 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.336/1.336, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 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.1188/0.1188, allocations: 17.44 MB / 277.2 MB, free: 15.17 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.002007/0.002007, allocations: 63.91 kB / 412.6 MB, free: 5.516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 59.87 MB / 472.5 MB, free: 9.523 MB / 446.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.2636/0.3703, allocations: 47.05 MB / 0.5074 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1151/0.4854, allocations: 106.1 MB / 0.611 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004693/0.4901, allocations: 99.25 kB / 0.6111 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006898/0.497, allocations: 2.156 MB / 0.6132 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.03371/0.5307, allocations: 10.18 MB / 0.6231 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.05029/0.581, allocations: 15.78 MB / 0.6385 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01453/0.5955, allocations: 10.53 MB / 0.6488 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006026/0.6016, allocations: 4.608 MB / 0.6533 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007661/0.6092, allocations: 5.433 MB / 0.6586 GB, free: 4.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00941/0.6186, allocations: 5.364 MB / 0.6639 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002016/0.6206, allocations: 0.8906 MB / 0.6647 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03579/0.6564, allocations: 13.03 MB / 0.6774 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003368/0.6598, allocations: 2.146 MB / 0.6795 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.005832/0.6656, allocations: 3.879 MB / 0.6833 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.2683/0.934, allocations: 24.86 MB / 0.7076 GB, free: 55.49 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.934, allocations: 0 / 0.7076 GB, free: 55.49 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.573e-06/0.934, allocations: 0 / 0.7076 GB, free: 55.49 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001923/0.9342, allocations: 0 / 0.7076 GB, free: 55.49 MB / 0.5762 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.0175/0.9517, allocations: 10.62 MB / 0.718 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9517, allocations: 12.69 kB / 0.718 GB, free: 51.09 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008356/0.9601, allocations: 1.951 MB / 0.7199 GB, free: 50.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/0.9657, allocations: 3.522 MB / 0.7233 GB, free: 49.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.966, allocations: 0.5771 MB / 0.7239 GB, free: 49.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001067/0.9671, allocations: 0.7336 MB / 0.7246 GB, free: 49.71 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.9843, allocations: 9.221 MB / 0.7336 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001332/0.9844, allocations: 6.531 kB / 0.7336 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007712/0.9852, allocations: 286.2 kB / 0.7339 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000131/0.9853, allocations: 173 kB / 0.7341 GB, free: 49.18 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02081/1.006, allocations: 12.58 MB / 0.7463 GB, free: 49.11 MB / 0.5762 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.04177/1.048, allocations: 24.09 MB / 0.7699 GB, free: 41.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02773/1.076, allocations: 17.11 MB / 0.7866 GB, free: 35.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006621/1.082, allocations: 4.09 MB / 0.7906 GB, free: 34.11 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04042/1.123, allocations: 19.53 MB / 0.8096 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/1.123, allocations: 97.31 kB / 0.8097 GB, free: 17.29 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002366/1.125, allocations: 0.6228 MB / 0.8103 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=581): time 1.127e-05/1.125, allocations: 0 / 0.8103 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=757): time 0.106/1.231, allocations: 35.25 MB / 0.8448 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.231, allocations: 129.3 kB / 0.8449 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004594/1.236, allocations: 3.282 MB / 0.8481 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000523/1.236, allocations: 151.5 kB / 0.8482 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.002372/1.239, allocations: 3.252 MB / 0.8514 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002603/1.241, allocations: 2.708 MB / 0.8541 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002487/1.244, allocations: 1.703 MB / 0.8557 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.244, allocations: 305.1 kB / 0.856 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005066/1.249, allocations: 2.865 MB / 0.8588 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007821/1.257, allocations: 5.745 MB / 0.8644 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.272, allocations: 9.509 MB / 0.8737 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-05/1.272, allocations: 29.88 kB / 0.8737 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02356/1.295, allocations: 10.69 MB / 0.8842 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.659e-05/1.295, allocations: 47.84 kB / 0.8842 GB, free: 3.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001072/1.296, allocations: 88.66 kB / 0.8843 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008895/1.304, allocations: 1.816 MB / 0.8861 GB, free: 1.984 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/1.315, allocations: 2.318 MB / 0.8883 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01909/1.334, allocations: 12.1 MB / 0.9002 GB, free: 3.332 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006154/1.34, allocations: 297.5 kB / 0.9004 GB, free: 3.043 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.341, allocations: 0.5143 MB / 0.9009 GB, free: 2.531 MB / 0.6544 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.002743/1.344, allocations: 1.203 MB / 0.9021 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/1.345, allocations: 0.5783 MB / 0.9027 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02283/1.368, allocations: 10.09 MB / 0.9125 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.102e-05/1.368, allocations: 76 kB / 0.9126 GB, free: 6.863 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.552e-05/1.368, allocations: 4 kB / 0.9126 GB, free: 6.859 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001116/1.368, allocations: 39.84 kB / 0.9127 GB, free: 6.82 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03254/1.401, allocations: 14.61 MB / 0.9269 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/1.401, allocations: 4 kB / 0.9269 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007358/1.408, allocations: 1.533 MB / 0.9284 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008104/1.416, allocations: 1.6 MB / 0.93 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008712/1.417, allocations: 267.9 kB / 0.9302 GB, free: 4.992 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2309/1.648, allocations: 11.35 MB / 0.9413 GB, free: 261.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.648, allocations: 6.375 kB / 0.9413 GB, free: 261.7 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02192/1.67, allocations: 12.95 MB / 0.954 GB, free: 258.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002989/1.673, allocations: 1.24 MB / 0.9552 GB, free: 257.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009654/1.674, allocations: 154.7 kB / 0.9553 GB, free: 257.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.677, allocations: 159 kB / 0.9555 GB, free: 257.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009702/1.678, allocations: 0.5999 MB / 0.9561 GB, free: 257.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005858/1.679, allocations: 316.2 kB / 0.9564 GB, free: 257.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002236/1.681, allocations: 1.87 MB / 0.9582 GB, free: 256.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.41e-07/1.681, allocations: 0 / 0.9582 GB, free: 256.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01438/1.695, allocations: 5.099 MB / 0.9632 GB, free: 256.2 MB / 0.6856 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.01246/1.708, allocations: 5.7 MB / 0.9687 GB, free: 255.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01657/1.724, allocations: 8.416 MB / 0.977 GB, free: 251.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.724, allocations: 0 / 0.977 GB, free: 251.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006717/1.731, allocations: 4.484 MB / 0.9813 GB, free: 249.8 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.736, allocations: 1.179 MB / 0.9825 GB, free: 249.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.752, allocations: 12.9 MB / 0.9951 GB, free: 243.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.754, allocations: 2.707 MB / 0.9977 GB, free: 242.4 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005698/1.76, allocations: 1.658 MB / 0.9993 GB, free: 241.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002178/1.762, allocations: 1.14 MB / 1 GB, free: 240.6 MB / 0.6856 GB Notification: Performance of SimCode: time 1.663e-06/1.762, allocations: 0 / 1 GB, free: 240.6 MB / 0.6856 GB Notification: Performance of Templates: time 0.1861/1.948, allocations: 163.6 MB / 1.16 GB, free: 83.3 MB / 0.6856 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 ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.100884765968658] Failed to read output from testmodel.py, exit status != 0: 1.9575135899940506 1.966231143 1.030047295 Calling exit ...