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.001945/0.001945, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001583/0.001583, allocations: 216.1 kB / 22.25 MB, free: 5.078 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 8.012 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.1358/0.1358, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.002071/0.002071, allocations: 67.89 kB / 471.8 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2993, allocations: 59.87 MB / 0.5192 GB, free: 9.832 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.0627/0.362, allocations: 51.26 MB / 0.5692 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1567/0.5187, allocations: 121.5 MB / 0.6879 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005866/0.5246, allocations: 99.19 kB / 0.688 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007999/0.5326, allocations: 2.405 MB / 0.6904 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03155/0.5641, allocations: 10.27 MB / 0.7004 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.04255/0.6067, allocations: 15.77 MB / 0.7158 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01702/0.6237, allocations: 10.53 MB / 0.7261 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007688/0.6314, allocations: 4.683 MB / 0.7306 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2571/0.8885, allocations: 5.425 MB / 0.7359 GB, free: 26.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01379/0.9022, allocations: 5.975 MB / 0.7418 GB, free: 26.87 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005689/0.9079, allocations: 0.8848 MB / 0.7426 GB, free: 26.87 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04037/0.9483, allocations: 13.9 MB / 0.7562 GB, free: 26.87 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003873/0.9522, allocations: 2.133 MB / 0.7583 GB, free: 26.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006069/0.9582, allocations: 4.546 MB / 0.7627 GB, free: 25.6 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05163/1.01, allocations: 24.96 MB / 0.7871 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/1.01, allocations: 0 / 0.7871 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/1.01, allocations: 6.594 kB / 0.7871 GB, free: 23.37 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000356/1.01, allocations: 0 / 0.7871 GB, free: 23.37 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.02356/1.034, allocations: 10.64 MB / 0.7975 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/1.034, allocations: 9.219 kB / 0.7975 GB, free: 18.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/1.044, allocations: 1.948 MB / 0.7994 GB, free: 18.45 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008181/1.052, allocations: 3.521 MB / 0.8029 GB, free: 17.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000783/1.053, allocations: 0.5774 MB / 0.8034 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003532/1.056, allocations: 0.7394 MB / 0.8042 GB, free: 17.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/1.08, allocations: 9.222 MB / 0.8132 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/1.08, allocations: 3.375 kB / 0.8132 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001455/1.081, allocations: 288 kB / 0.8134 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.843e-05/1.081, allocations: 174.7 kB / 0.8136 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02044/1.102, allocations: 12.72 MB / 0.826 GB, free: 14.8 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.06487/1.167, allocations: 30.13 MB / 0.8555 GB, free: 424 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03803/1.205, allocations: 17.51 MB / 0.8726 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008722/1.214, allocations: 4.103 MB / 0.8766 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05782/1.271, allocations: 20.65 MB / 0.8967 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.769e-05/1.271, allocations: 93.81 kB / 0.8968 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003626/1.275, allocations: 0.6535 MB / 0.8975 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 2.04e-05/1.275, allocations: 0 / 0.8975 GB, free: 5.898 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.129/1.404, allocations: 35.26 MB / 0.9319 GB, free: 2.934 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001285/1.404, allocations: 129.3 kB / 0.932 GB, free: 2.793 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006308/1.411, allocations: 3.384 MB / 0.9353 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001312/1.412, allocations: 145.7 kB / 0.9355 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.003019/1.415, allocations: 3.25 MB / 0.9386 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.004358/1.419, allocations: 2.719 MB / 0.9413 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005472/1.425, allocations: 1.705 MB / 0.943 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001443/1.425, allocations: 305.1 kB / 0.9433 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006755/1.432, allocations: 2.869 MB / 0.9461 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00985/1.441, allocations: 5.743 MB / 0.9517 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01919/1.461, allocations: 9.508 MB / 0.961 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.033e-05/1.461, allocations: 28 kB / 0.961 GB, free: 3.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02933/1.49, allocations: 10.72 MB / 0.9714 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.49, allocations: 44 kB / 0.9715 GB, free: 8.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001387/1.49, allocations: 88 kB / 0.9716 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009585/1.5, allocations: 1.823 MB / 0.9734 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.51, allocations: 2.317 MB / 0.9756 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2554/1.766, allocations: 12.3 MB / 0.9876 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006596/1.772, allocations: 290.1 kB / 0.9879 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.774, allocations: 0.5159 MB / 0.9884 GB, free: 291.1 MB / 0.7169 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.003318/1.777, allocations: 1.205 MB / 0.9896 GB, free: 291 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001685/1.779, allocations: 0.6 MB / 0.9902 GB, free: 291 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02811/1.807, allocations: 10.12 MB / 1 GB, free: 287.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/1.807, allocations: 78.06 kB / 1 GB, free: 287.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/1.807, allocations: 4.75 kB / 1 GB, free: 287.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000216/1.807, allocations: 43.41 kB / 1 GB, free: 287.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03933/1.847, allocations: 16.32 MB / 1.016 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.296e-05/1.847, allocations: 7.125 kB / 1.016 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007375/1.854, allocations: 1.525 MB / 1.018 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007934/1.862, allocations: 1.613 MB / 1.019 GB, free: 280.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001212/1.863, allocations: 267.5 kB / 1.019 GB, free: 280.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01404/1.877, allocations: 11.56 MB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/1.877, allocations: 9.594 kB / 1.031 GB, free: 271.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02705/1.904, allocations: 12.98 MB / 1.043 GB, free: 265.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004482/1.909, allocations: 1.275 MB / 1.045 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.911, allocations: 147.1 kB / 1.045 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004301/1.915, allocations: 157.2 kB / 1.045 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001356/1.916, allocations: 0.6083 MB / 1.046 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007143/1.917, allocations: 315.5 kB / 1.046 GB, free: 264.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002918/1.92, allocations: 2.047 MB / 1.048 GB, free: 264.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.92, allocations: 0 / 1.048 GB, free: 264.1 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01505/1.935, allocations: 5.107 MB / 1.053 GB, free: 263.5 MB / 0.7169 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.01228/1.947, allocations: 5.703 MB / 1.058 GB, free: 262.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01494/1.962, allocations: 8.411 MB / 1.067 GB, free: 256.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.962, allocations: 0 / 1.067 GB, free: 256.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00788/1.97, allocations: 4.493 MB / 1.071 GB, free: 252.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00748/1.978, allocations: 1.188 MB / 1.072 GB, free: 251.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0213/1.999, allocations: 12.91 MB / 1.085 GB, free: 239 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0022/2.001, allocations: 3.184 MB / 1.088 GB, free: 235.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006799/2.008, allocations: 1.68 MB / 1.09 GB, free: 234.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002683/2.011, allocations: 1.143 MB / 1.091 GB, free: 233.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.313e-06/2.011, allocations: 0 / 1.091 GB, free: 233.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.2012/2.212, allocations: 170.1 MB / 1.257 GB, free: 64.08 MB / 0.7169 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.315244562923908] Failed to read output from testmodel.py, exit status != 0: 2.221828968729824 2.2315892649999998 1.2190309369999999 Calling exit ...