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.001657/0.001657, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.001561/0.001561, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1453/0.1453, allocations: 23.85 MB / 332.7 MB, free: 12.36 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.002122/0.002122, allocations: 71.89 kB / 466.5 MB, free: 9.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3397, allocations: 59.81 MB / 0.514 GB, free: 9.16 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.06615/0.4058, allocations: 50.85 MB / 0.5636 GB, free: 7.559 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1589/0.5647, allocations: 121.3 MB / 0.6821 GB, free: 14.66 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007577/0.5723, allocations: 99.25 kB / 0.6822 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00892/0.5812, allocations: 2.408 MB / 0.6845 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03123/0.6125, allocations: 10.18 MB / 0.6945 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04173/0.6542, allocations: 15.62 MB / 0.7097 GB, free: 2.172 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01634/0.6705, allocations: 10.54 MB / 0.72 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007198/0.6777, allocations: 4.694 MB / 0.7246 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2868/0.9645, allocations: 5.423 MB / 0.7299 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01409/0.9786, allocations: 5.974 MB / 0.7357 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.006172/0.9848, allocations: 0.888 MB / 0.7366 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04427/1.029, allocations: 13.91 MB / 0.7502 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004498/1.034, allocations: 2.133 MB / 0.7522 GB, free: 25.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008446/1.042, allocations: 4.545 MB / 0.7567 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05363/1.096, allocations: 24.95 MB / 0.7811 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.096, allocations: 0 / 0.7811 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.134e-06/1.096, allocations: 2.656 kB / 0.7811 GB, free: 22.38 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004583/1.096, allocations: 0 / 0.7811 GB, free: 22.38 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.0299/1.126, allocations: 10.73 MB / 0.7915 GB, free: 17.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.126, allocations: 9.594 kB / 0.7915 GB, free: 17.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01239/1.138, allocations: 1.943 MB / 0.7934 GB, free: 17.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008713/1.147, allocations: 3.622 MB / 0.797 GB, free: 16.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005471/1.148, allocations: 0.5533 MB / 0.7975 GB, free: 16.47 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003346/1.151, allocations: 0.7348 MB / 0.7982 GB, free: 16.45 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02235/1.173, allocations: 9.209 MB / 0.8072 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001773/1.174, allocations: 3.734 kB / 0.8072 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001367/1.175, allocations: 292.4 kB / 0.8075 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.275e-05/1.175, allocations: 174.3 kB / 0.8077 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/1.197, allocations: 12.7 MB / 0.8201 GB, free: 0.9297 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.07221/1.27, allocations: 30.32 MB / 0.8497 GB, free: 2.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04015/1.31, allocations: 19.83 MB / 0.8691 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00947/1.319, allocations: 4.093 MB / 0.8731 GB, free: 9.945 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06451/1.384, allocations: 36.64 MB / 0.9088 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/1.384, allocations: 93.78 kB / 0.9089 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003047/1.387, allocations: 0.6482 MB / 0.9096 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=581): time 2.086e-05/1.387, allocations: 0 / 0.9096 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of matching and sorting (n=757): time 0.1498/1.537, allocations: 35.59 MB / 0.9443 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/1.537, allocations: 125.3 kB / 0.9444 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006504/1.543, allocations: 3.391 MB / 0.9477 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.001514/1.545, allocations: 149.7 kB / 0.9479 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.003297/1.548, allocations: 3.25 MB / 0.9511 GB, free: 6.676 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004534/1.553, allocations: 2.711 MB / 0.9537 GB, free: 4 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005831/1.558, allocations: 1.706 MB / 0.9554 GB, free: 2.285 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.559, allocations: 311.7 kB / 0.9557 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007299/1.566, allocations: 2.857 MB / 0.9585 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/1.577, allocations: 5.735 MB / 0.9641 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2761/1.853, allocations: 9.488 MB / 0.9733 GB, free: 297.2 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.992e-05/1.853, allocations: 25.84 kB / 0.9734 GB, free: 297.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02754/1.88, allocations: 10.7 MB / 0.9838 GB, free: 295.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/1.881, allocations: 42.94 kB / 0.9838 GB, free: 295.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/1.881, allocations: 95.34 kB / 0.9839 GB, free: 295.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009717/1.89, allocations: 1.815 MB / 0.9857 GB, free: 295.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/1.901, allocations: 2.31 MB / 0.988 GB, free: 295.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.919, allocations: 12.82 MB / 1 GB, free: 285 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006561/1.925, allocations: 291.4 kB / 1.001 GB, free: 284.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001491/1.927, allocations: 0.5144 MB / 1.001 GB, free: 284.7 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.003347/1.93, allocations: 1.209 MB / 1.002 GB, free: 283.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/1.932, allocations: 0.5998 MB / 1.003 GB, free: 283.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02305/1.955, allocations: 10.11 MB / 1.013 GB, free: 280.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/1.955, allocations: 81.09 kB / 1.013 GB, free: 280.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/1.955, allocations: 3.938 kB / 1.013 GB, free: 280.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/1.955, allocations: 38.91 kB / 1.013 GB, free: 280.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.987, allocations: 16.32 MB / 1.029 GB, free: 273.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.373e-05/1.987, allocations: 4.281 kB / 1.029 GB, free: 273.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008024/1.995, allocations: 1.529 MB / 1.03 GB, free: 273.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008136/2.004, allocations: 1.603 MB / 1.032 GB, free: 272.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001355/2.005, allocations: 266.1 kB / 1.032 GB, free: 272.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/2.019, allocations: 12.09 MB / 1.044 GB, free: 262.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.019, allocations: 3.625 kB / 1.044 GB, free: 262.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02524/2.044, allocations: 12.95 MB / 1.057 GB, free: 257.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003133/2.047, allocations: 1.346 MB / 1.058 GB, free: 256.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001064/2.048, allocations: 146.9 kB / 1.058 GB, free: 256.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003486/2.052, allocations: 155.6 kB / 1.058 GB, free: 256.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009891/2.053, allocations: 0.5739 MB / 1.059 GB, free: 255.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005484/2.053, allocations: 317.6 kB / 1.059 GB, free: 255.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002555/2.056, allocations: 2.039 MB / 1.061 GB, free: 253.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.056, allocations: 0 / 1.061 GB, free: 253.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01529/2.071, allocations: 5.106 MB / 1.066 GB, free: 249.7 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.01264/2.084, allocations: 5.714 MB / 1.072 GB, free: 245.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01469/2.098, allocations: 8.397 MB / 1.08 GB, free: 236.8 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/2.098, allocations: 0 / 1.08 GB, free: 236.8 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007026/2.106, allocations: 4.478 MB / 1.084 GB, free: 232.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/2.111, allocations: 1.2 MB / 1.085 GB, free: 231.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/2.13, allocations: 12.91 MB / 1.098 GB, free: 218.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001981/2.131, allocations: 3.18 MB / 1.101 GB, free: 215.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006104/2.138, allocations: 1.68 MB / 1.103 GB, free: 213.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002486/2.14, allocations: 1.141 MB / 1.104 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of SimCode: time 1.182e-06/2.14, allocations: 0 / 1.104 GB, free: 212.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.2039/2.344, allocations: 167.1 MB / 1.267 GB, free: 45.89 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 sys.exit(0), Time elapsed: 14.05021607130766] Failed to read output from testmodel.py, exit status != 0: 2.3532266542315483 2.362078822 1.263933919 Calling exit ...