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.001429/0.001429, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001784/0.001784, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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.023/1.023, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 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.09913/0.09913, allocations: 17.47 MB / 277.7 MB, free: 11.43 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 300.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.643e-05/1.782e-05, allocations: 7.188 kB / 300.8 MB, free: 1.707 MB / 266.7 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.0456/0.04561, allocations: 59.03 MB / 359.9 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2485/0.2941, allocations: 120.4 MB / 480.3 MB, free: 28.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004636/0.2988, allocations: 100.5 kB / 480.4 MB, free: 28.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005735/0.3045, allocations: 2.258 MB / 482.6 MB, free: 28.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02329/0.3278, allocations: 10.37 MB / 493 MB, free: 25.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03282/0.3606, allocations: 16.15 MB / 0.4972 GB, free: 21.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.3725, allocations: 10.87 MB / 0.5078 GB, free: 16.75 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005833/0.3783, allocations: 4.851 MB / 0.5126 GB, free: 13.48 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01121/0.3895, allocations: 7.338 MB / 0.5197 GB, free: 9.824 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007842/0.3973, allocations: 4.837 MB / 0.5245 GB, free: 7.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.4002, allocations: 0.8859 MB / 0.5253 GB, free: 7.617 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03425/0.4345, allocations: 13.67 MB / 0.5387 GB, free: 10.53 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003263/0.4378, allocations: 2.166 MB / 0.5408 GB, free: 8.539 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005746/0.4435, allocations: 3.368 MB / 0.5441 GB, free: 5.355 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05046/0.494, allocations: 23.33 MB / 0.5669 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.494, allocations: 0 / 0.5669 GB, free: 15.85 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.494, allocations: 0 / 0.5669 GB, free: 15.85 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003524/0.4943, allocations: 2.656 kB / 0.5669 GB, free: 15.85 MB / 458.7 MB 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.01843/0.5127, allocations: 10.59 MB / 0.5772 GB, free: 5.676 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5128, allocations: 8.031 kB / 0.5772 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009363/0.5221, allocations: 3.089 MB / 0.5802 GB, free: 2.625 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.5284, allocations: 2.68 MB / 0.5829 GB, free: 15.96 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004879/0.5289, allocations: 0.5764 MB / 0.5834 GB, free: 15.37 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/0.5304, allocations: 0.7398 MB / 0.5841 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/0.5407, allocations: 6.661 MB / 0.5906 GB, free: 8.133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001284/0.5409, allocations: 8.125 kB / 0.5907 GB, free: 8.125 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006229/0.5415, allocations: 284.4 kB / 0.5909 GB, free: 7.848 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001257/0.5416, allocations: 175.9 kB / 0.5911 GB, free: 7.676 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.5522, allocations: 6.328 MB / 0.5973 GB, free: 1.328 MB / 474.7 MB 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.324/0.8762, allocations: 18.29 MB / 0.6151 GB, free: 81.09 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02265/0.8989, allocations: 19.05 MB / 0.6337 GB, free: 80.03 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.9025, allocations: 1.96 MB / 0.6356 GB, free: 79.97 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03628/0.9388, allocations: 16.82 MB / 0.6521 GB, free: 79.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.863e-05/0.9389, allocations: 96.98 kB / 0.6522 GB, free: 79.3 MB / 490.8 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00177/0.9407, allocations: 0.6233 MB / 0.6528 GB, free: 79.3 MB / 490.8 MB Notification: Performance of pre-optimization done (n=581): time 1.393e-05/0.9407, allocations: 0 / 0.6528 GB, free: 79.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=757): time 0.05017/0.9908, allocations: 23.98 MB / 0.6762 GB, free: 71.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.9909, allocations: 131.5 kB / 0.6763 GB, free: 71.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002092/0.993, allocations: 3.003 MB / 0.6792 GB, free: 69.36 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006898/0.9937, allocations: 149.1 kB / 0.6794 GB, free: 69.3 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/0.9946, allocations: 2.765 MB / 0.6821 GB, free: 67.61 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002267/0.9969, allocations: 2.717 MB / 0.6847 GB, free: 65.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.9983, allocations: 1.696 MB / 0.6864 GB, free: 65.01 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.912e-05/0.9984, allocations: 308.9 kB / 0.6867 GB, free: 64.71 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.9998, allocations: 1.138 MB / 0.6878 GB, free: 63.72 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002158/1.002, allocations: 4.066 MB / 0.6918 GB, free: 58.99 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005081/1.007, allocations: 6.625 MB / 0.6982 GB, free: 52.71 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.059e-05/1.007, allocations: 28 kB / 0.6983 GB, free: 52.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.008193/1.015, allocations: 6.162 MB / 0.7043 GB, free: 48.51 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/1.015, allocations: 48.84 kB / 0.7043 GB, free: 48.46 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-05/1.015, allocations: 88 kB / 0.7044 GB, free: 48.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00479/1.02, allocations: 1.869 MB / 0.7062 GB, free: 46.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005992/1.026, allocations: 2.499 MB / 0.7087 GB, free: 44.43 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007154/1.033, allocations: 9.299 MB / 0.7178 GB, free: 35.39 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004626/1.038, allocations: 289.3 kB / 0.718 GB, free: 35.26 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009285/1.039, allocations: 441.1 kB / 0.7185 GB, free: 34.91 MB / 490.8 MB 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.001855/1.041, allocations: 0.7013 MB / 0.7191 GB, free: 34.67 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.042, allocations: 0.5552 MB / 0.7197 GB, free: 34.21 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008608/1.05, allocations: 6.064 MB / 0.7256 GB, free: 29.05 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.174e-05/1.05, allocations: 80 kB / 0.7257 GB, free: 28.97 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.05, allocations: 4 kB / 0.7257 GB, free: 28.96 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.957e-05/1.05, allocations: 39.84 kB / 0.7257 GB, free: 28.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/1.066, allocations: 8.322 MB / 0.7339 GB, free: 21.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.066, allocations: 6.688 kB / 0.7339 GB, free: 21.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004409/1.07, allocations: 1.644 MB / 0.7355 GB, free: 19.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004679/1.075, allocations: 1.661 MB / 0.7371 GB, free: 17.92 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001045/1.076, allocations: 247.9 kB / 0.7373 GB, free: 17.68 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006466/1.082, allocations: 8.876 MB / 0.746 GB, free: 8.504 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/1.082, allocations: 7.562 kB / 0.746 GB, free: 8.5 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008793/1.091, allocations: 6.833 MB / 0.7527 GB, free: 1.664 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002061/1.093, allocations: 0.7971 MB / 0.7535 GB, free: 0.8711 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006324/1.094, allocations: 152 kB / 0.7536 GB, free: 0.7227 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/1.095, allocations: 150.1 kB / 0.7537 GB, free: 0.5781 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006716/1.096, allocations: 0.6002 MB / 0.7543 GB, free: 15.98 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/1.097, allocations: 243.8 kB / 0.7546 GB, free: 15.74 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001183/1.098, allocations: 1.377 MB / 0.7559 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.8e-07/1.098, allocations: 0 / 0.7559 GB, free: 14.53 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01176/1.109, allocations: 5.103 MB / 0.7609 GB, free: 10.1 MB / 0.4949 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.01122/1.121, allocations: 6.3 MB / 0.767 GB, free: 4.672 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008581/1.129, allocations: 5.554 MB / 0.7725 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001453/1.129, allocations: 71.94 kB / 0.7725 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.133, allocations: 3.113 MB / 0.7756 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003557/1.137, allocations: 1.309 MB / 0.7769 GB, free: 11.23 MB / 0.5105 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.151, allocations: 11.15 MB / 0.7877 GB, free: 108 kB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008947/1.152, allocations: 1.081 MB / 0.7888 GB, free: 15 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.005073/1.157, allocations: 1.644 MB / 0.7904 GB, free: 13.46 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003555/1.16, allocations: 1.991 MB / 0.7923 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of SimCode: time 2.875e-06/1.16, allocations: 0 / 0.7923 GB, free: 11.46 MB / 0.5262 GB Notification: Performance of Templates: time 0.3441/1.505, allocations: 190.8 MB / 0.9787 GB, free: 5.855 MB / 0.5418 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.982761363964528]