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.001343/0.001343, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001541/0.001541, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.433/1.433, allocations: 230.6 MB / 256 MB, free: 7.801 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.1374/0.1374, allocations: 24 MB / 336.4 MB, free: 10.85 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.002248/0.002248, allocations: 63.91 kB / 471.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.3168, allocations: 59.89 MB / 0.5193 GB, free: 9.73 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.0909/0.4077, allocations: 47.08 MB / 0.5652 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1425/0.5502, allocations: 106.1 MB / 0.6688 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005648/0.5559, allocations: 95.36 kB / 0.6689 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006872/0.5628, allocations: 2.163 MB / 0.671 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03148/0.5942, allocations: 10.18 MB / 0.681 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04227/0.6365, allocations: 15.77 MB / 0.6964 GB, free: 3.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01725/0.6537, allocations: 10.53 MB / 0.7067 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007046/0.6608, allocations: 4.605 MB / 0.7112 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00954/0.6703, allocations: 5.445 MB / 0.7165 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01118/0.6815, allocations: 5.357 MB / 0.7217 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003662/0.6852, allocations: 0.8828 MB / 0.7226 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2943/0.9794, allocations: 13.04 MB / 0.7353 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.983, allocations: 2.132 MB / 0.7374 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008422/0.9914, allocations: 3.879 MB / 0.7412 GB, free: 37.42 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05147/1.043, allocations: 24.86 MB / 0.7655 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.043, allocations: 3.062 kB / 0.7655 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.064e-06/1.043, allocations: 2.188 kB / 0.7655 GB, free: 35.88 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003652/1.043, allocations: 0 / 0.7655 GB, free: 35.88 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.02594/1.069, allocations: 10.62 MB / 0.7758 GB, free: 31.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/1.069, allocations: 11.31 kB / 0.7758 GB, free: 31.43 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/1.08, allocations: 1.95 MB / 0.7778 GB, free: 30.96 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/1.09, allocations: 3.526 MB / 0.7812 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006822/1.091, allocations: 0.5775 MB / 0.7818 GB, free: 30.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003307/1.094, allocations: 0.7377 MB / 0.7825 GB, free: 30.04 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02379/1.118, allocations: 9.22 MB / 0.7915 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003712/1.118, allocations: 3.094 kB / 0.7915 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002595/1.121, allocations: 283.4 kB / 0.7918 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001402/1.121, allocations: 176.4 kB / 0.7919 GB, free: 29.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02472/1.146, allocations: 12.58 MB / 0.8042 GB, free: 28.88 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.0566/1.202, allocations: 24.08 MB / 0.8277 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03047/1.233, allocations: 17.11 MB / 0.8444 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009482/1.242, allocations: 4.101 MB / 0.8484 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0561/1.298, allocations: 19.52 MB / 0.8675 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.218e-05/1.298, allocations: 91.12 kB / 0.8676 GB, free: 6.363 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002821/1.301, allocations: 0.6308 MB / 0.8682 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.84e-05/1.301, allocations: 0 / 0.8682 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1493/1.451, allocations: 35.25 MB / 0.9026 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/1.451, allocations: 128 kB / 0.9027 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00464/1.455, allocations: 3.282 MB / 0.9059 GB, free: 15.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/1.457, allocations: 149.7 kB / 0.9061 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.459, allocations: 3.247 MB / 0.9093 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.00345/1.463, allocations: 2.705 MB / 0.9119 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002746/1.466, allocations: 1.702 MB / 0.9136 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.466, allocations: 305.1 kB / 0.9139 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005393/1.471, allocations: 2.867 MB / 0.9167 GB, free: 4.395 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008586/1.48, allocations: 5.747 MB / 0.9223 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01718/1.497, allocations: 9.512 MB / 0.9316 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.397e-05/1.497, allocations: 24 kB / 0.9316 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02839/1.525, allocations: 10.7 MB / 0.942 GB, free: 8.961 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/1.525, allocations: 44 kB / 0.9421 GB, free: 8.918 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/1.525, allocations: 92 kB / 0.9422 GB, free: 8.828 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009064/1.535, allocations: 1.816 MB / 0.9439 GB, free: 7.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/1.545, allocations: 2.322 MB / 0.9462 GB, free: 4.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/1.565, allocations: 12.09 MB / 0.958 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/1.572, allocations: 296 kB / 0.9583 GB, free: 8.043 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001782/1.574, allocations: 0.5155 MB / 0.9588 GB, free: 7.527 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.004187/1.578, allocations: 1.2 MB / 0.96 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002311/1.58, allocations: 0.5744 MB / 0.9605 GB, free: 5.883 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02974/1.61, allocations: 10.1 MB / 0.9704 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-05/1.61, allocations: 83.98 kB / 0.9705 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.635e-05/1.61, allocations: 4 kB / 0.9705 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002303/1.61, allocations: 39.8 kB / 0.9705 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3127/1.923, allocations: 14.6 MB / 0.9848 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.949e-05/1.923, allocations: 4.625 kB / 0.9848 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008263/1.931, allocations: 1.528 MB / 0.9863 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008548/1.94, allocations: 1.604 MB / 0.9878 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002/1.942, allocations: 268 kB / 0.9881 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01471/1.956, allocations: 11.34 MB / 0.9992 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/1.956, allocations: 4 kB / 0.9992 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03051/1.987, allocations: 12.95 MB / 1.012 GB, free: 274.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004685/1.992, allocations: 1.246 MB / 1.013 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001918/1.994, allocations: 146.1 kB / 1.013 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004474/1.998, allocations: 154.7 kB / 1.013 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/2, allocations: 0.6051 MB / 1.014 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007779/2.001, allocations: 309.8 kB / 1.014 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002832/2.003, allocations: 1.863 MB / 1.016 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/2.003, allocations: 2.5 kB / 1.016 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01487/2.018, allocations: 5.105 MB / 1.021 GB, free: 272.3 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.01309/2.031, allocations: 5.706 MB / 1.027 GB, free: 271.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01337/2.045, allocations: 8.409 MB / 1.035 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/2.045, allocations: 0 / 1.035 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.006966/2.052, allocations: 4.493 MB / 1.039 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.005815/2.058, allocations: 1.17 MB / 1.04 GB, free: 264.7 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01787/2.075, allocations: 12.91 MB / 1.053 GB, free: 252.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00202/2.077, allocations: 2.703 MB / 1.056 GB, free: 250.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006106/2.084, allocations: 1.661 MB / 1.057 GB, free: 249.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002204/2.086, allocations: 1.13 MB / 1.058 GB, free: 249 MB / 0.7012 GB Notification: Performance of SimCode: time 8.02e-07/2.086, allocations: 0 / 1.058 GB, free: 249 MB / 0.7012 GB Notification: Performance of Templates: time 0.1888/2.275, allocations: 173.1 MB / 1.227 GB, free: 79.35 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.67396811582148] Failed to read output from testmodel.py, exit status != 0: 2.2835782561451197 2.291773849 1.246517642 Calling exit ...