Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.00132/0.00132, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.00154/0.00154, allocations: 211.9 kB / 23 MB, free: 4.605 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.457/1.457, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.141/0.141, allocations: 23.84 MB / 337 MB, free: 11.25 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002143/0.002143, allocations: 59.91 kB / 472.5 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3034, allocations: 59.86 MB / 0.5198 GB, free: 9.871 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.06271/0.3661, allocations: 51.22 MB / 0.5699 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1518/0.5178, allocations: 121.5 MB / 0.6886 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00563/0.5235, allocations: 95.25 kB / 0.6886 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007469/0.5309, allocations: 2.401 MB / 0.691 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.02937/0.5603, allocations: 10.29 MB / 0.701 GB, free: 20 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0412/0.6015, allocations: 15.76 MB / 0.7164 GB, free: 168 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01653/0.618, allocations: 10.53 MB / 0.7267 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007803/0.6258, allocations: 4.686 MB / 0.7313 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2447/0.8706, allocations: 5.435 MB / 0.7366 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01153/0.8821, allocations: 5.969 MB / 0.7424 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003357/0.8855, allocations: 0.8857 MB / 0.7433 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0402/0.9257, allocations: 13.91 MB / 0.7569 GB, free: 26.93 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00407/0.9297, allocations: 2.135 MB / 0.759 GB, free: 26.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006869/0.9366, allocations: 4.544 MB / 0.7634 GB, free: 25.72 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04748/0.9841, allocations: 24.96 MB / 0.7878 GB, free: 23.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.602e-05/0.9841, allocations: 3.688 kB / 0.7878 GB, free: 23.5 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.356e-06/0.9841, allocations: 2.656 kB / 0.7878 GB, free: 23.5 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002921/0.9844, allocations: 0 / 0.7878 GB, free: 23.5 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.02222/1.007, allocations: 10.65 MB / 0.7982 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/1.007, allocations: 9.625 kB / 0.7982 GB, free: 19.05 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009525/1.016, allocations: 1.948 MB / 0.8001 GB, free: 18.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007242/1.023, allocations: 3.514 MB / 0.8035 GB, free: 17.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003905/1.024, allocations: 0.584 MB / 0.8041 GB, free: 17.69 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/1.026, allocations: 0.7424 MB / 0.8048 GB, free: 17.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01509/1.041, allocations: 9.219 MB / 0.8138 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001193/1.041, allocations: 3.375 kB / 0.8138 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007772/1.042, allocations: 288 kB / 0.8141 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/1.042, allocations: 174.7 kB / 0.8143 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/1.06, allocations: 12.73 MB / 0.8267 GB, free: 15.03 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.06066/1.12, allocations: 30.13 MB / 0.8561 GB, free: 0.6523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03554/1.156, allocations: 17.51 MB / 0.8732 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008306/1.164, allocations: 4.104 MB / 0.8772 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05208/1.216, allocations: 20.65 MB / 0.8974 GB, free: 6.883 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.928e-05/1.216, allocations: 93.81 kB / 0.8975 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002634/1.219, allocations: 0.6509 MB / 0.8981 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 9.819e-06/1.219, allocations: 0 / 0.8981 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1202/1.339, allocations: 35.26 MB / 0.9325 GB, free: 3.176 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.79e-05/1.339, allocations: 129.3 kB / 0.9327 GB, free: 3.035 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004768/1.344, allocations: 3.381 MB / 0.936 GB, free: 15.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/1.345, allocations: 152.3 kB / 0.9361 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002588/1.348, allocations: 3.254 MB / 0.9393 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003346/1.351, allocations: 2.709 MB / 0.9419 GB, free: 9.57 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00292/1.354, allocations: 1.706 MB / 0.9436 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.354, allocations: 305.1 kB / 0.9439 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005533/1.36, allocations: 2.864 MB / 0.9467 GB, free: 4.684 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00857/1.368, allocations: 5.747 MB / 0.9523 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01585/1.384, allocations: 9.511 MB / 0.9616 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.699e-05/1.384, allocations: 28 kB / 0.9616 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02573/1.41, allocations: 10.72 MB / 0.9721 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/1.41, allocations: 48.25 kB / 0.9721 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001014/1.41, allocations: 88 kB / 0.9722 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009556/1.42, allocations: 1.819 MB / 0.974 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/1.43, allocations: 2.321 MB / 0.9763 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2444/1.674, allocations: 12.31 MB / 0.9883 GB, free: 291.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006316/1.681, allocations: 291.8 kB / 0.9886 GB, free: 291.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/1.682, allocations: 0.5167 MB / 0.9891 GB, free: 291.6 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.002968/1.685, allocations: 1.199 MB / 0.9902 GB, free: 291.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001514/1.686, allocations: 0.6123 MB / 0.9908 GB, free: 291.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02408/1.71, allocations: 10.11 MB / 1.001 GB, free: 288.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-05/1.711, allocations: 82.34 kB / 1.001 GB, free: 288.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/1.711, allocations: 4.406 kB / 1.001 GB, free: 288.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001611/1.711, allocations: 39.66 kB / 1.001 GB, free: 288.2 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03612/1.747, allocations: 16.32 MB / 1.017 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/1.747, allocations: 5.969 kB / 1.017 GB, free: 281.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00705/1.754, allocations: 1.524 MB / 1.018 GB, free: 281.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007874/1.762, allocations: 1.605 MB / 1.02 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/1.763, allocations: 268 kB / 1.02 GB, free: 280.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/1.777, allocations: 11.57 MB / 1.031 GB, free: 271.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/1.777, allocations: 3.312 kB / 1.031 GB, free: 271.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02452/1.801, allocations: 12.98 MB / 1.044 GB, free: 266.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/1.805, allocations: 1.259 MB / 1.045 GB, free: 265.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001116/1.806, allocations: 153.1 kB / 1.045 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003276/1.809, allocations: 155.2 kB / 1.046 GB, free: 265.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009188/1.81, allocations: 0.5999 MB / 1.046 GB, free: 265.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005676/1.811, allocations: 314.7 kB / 1.046 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00267/1.813, allocations: 2.043 MB / 1.048 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.813, allocations: 0 / 1.048 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01331/1.827, allocations: 5.107 MB / 1.053 GB, free: 264 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.0105/1.837, allocations: 5.716 MB / 1.059 GB, free: 262.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01356/1.851, allocations: 8.413 MB / 1.067 GB, free: 257.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/1.851, allocations: 0 / 1.067 GB, free: 257.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006515/1.857, allocations: 4.485 MB / 1.072 GB, free: 253 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005284/1.862, allocations: 1.191 MB / 1.073 GB, free: 252.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.018/1.88, allocations: 13.04 MB / 1.086 GB, free: 239.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002022/1.882, allocations: 3.174 MB / 1.089 GB, free: 236.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003606/1.886, allocations: 1.455 MB / 1.09 GB, free: 235 MB / 0.7169 GB Notification: Performance of SimCode: time 7.62e-07/1.886, allocations: 0 / 1.09 GB, free: 235 MB / 0.7169 GB Notification: Performance of Templates: time 0.4727/2.359, allocations: 287.5 MB / 1.371 GB, free: 269.5 MB / 0.7169 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 20.031111724907532] Failed to read output from testmodel.py, exit status != 0: 2.3683096959721297 2.378061434 1.391344996 Calling exit ...