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.001383/0.001383, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001523/0.001523, allocations: 220.3 kB / 22.25 MB, free: 5.102 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.824 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.1417/0.1417, allocations: 23.92 MB / 336.3 MB, free: 10.94 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.002125/0.002125, allocations: 67.91 kB / 471.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3166, allocations: 59.87 MB / 0.5191 GB, free: 9.789 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.09495/0.4115, allocations: 46.97 MB / 0.565 GB, free: 10.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1407/0.5522, allocations: 106.1 MB / 0.6686 GB, free: 304 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006369/0.5586, allocations: 99.19 kB / 0.6687 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007368/0.566, allocations: 2.152 MB / 0.6708 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03182/0.5978, allocations: 10.18 MB / 0.6807 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04093/0.6387, allocations: 15.78 MB / 0.6962 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01668/0.6554, allocations: 10.52 MB / 0.7064 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007732/0.6631, allocations: 4.698 MB / 0.711 GB, free: 4.566 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01007/0.6732, allocations: 5.449 MB / 0.7163 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.6852, allocations: 5.97 MB / 0.7222 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003163/0.6884, allocations: 0.8867 MB / 0.723 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3087/0.9971, allocations: 13.37 MB / 0.7361 GB, free: 37.49 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004116/1.001, allocations: 2.135 MB / 0.7382 GB, free: 37.49 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01334/1.015, allocations: 3.885 MB / 0.742 GB, free: 37.49 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05875/1.073, allocations: 24.86 MB / 0.7662 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.246e-06/1.073, allocations: 8.5 kB / 0.7663 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.014e-06/1.073, allocations: 0 / 0.7663 GB, free: 35.95 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004878/1.074, allocations: 2.312 kB / 0.7663 GB, free: 35.95 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.03152/1.105, allocations: 10.62 MB / 0.7766 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/1.105, allocations: 9.531 kB / 0.7766 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/1.117, allocations: 1.954 MB / 0.7785 GB, free: 31.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009054/1.126, allocations: 3.513 MB / 0.782 GB, free: 30.22 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005096/1.126, allocations: 0.5782 MB / 0.7825 GB, free: 30.14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003091/1.129, allocations: 0.7364 MB / 0.7833 GB, free: 30.12 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/1.154, allocations: 9.218 MB / 0.7923 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003168/1.154, allocations: 9.219 kB / 0.7923 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002617/1.157, allocations: 288.1 kB / 0.7925 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/1.157, allocations: 172.3 kB / 0.7927 GB, free: 29.58 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0265/1.184, allocations: 12.58 MB / 0.805 GB, free: 29.27 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.05786/1.242, allocations: 24.08 MB / 0.8285 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03111/1.273, allocations: 17.1 MB / 0.8452 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01023/1.283, allocations: 4.095 MB / 0.8492 GB, free: 9.16 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06221/1.345, allocations: 19.52 MB / 0.8683 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.659e-05/1.345, allocations: 101.8 kB / 0.8684 GB, free: 5.895 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003025/1.348, allocations: 0.6202 MB / 0.869 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.409e-05/1.348, allocations: 0 / 0.869 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1365/1.485, allocations: 35.25 MB / 0.9034 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.485, allocations: 132 kB / 0.9035 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005014/1.49, allocations: 3.274 MB / 0.9067 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001674/1.492, allocations: 149.7 kB / 0.9069 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002963/1.494, allocations: 3.248 MB / 0.91 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004032/1.499, allocations: 2.706 MB / 0.9127 GB, free: 8.82 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003279/1.502, allocations: 1.702 MB / 0.9143 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.502, allocations: 305.1 kB / 0.9146 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006046/1.508, allocations: 2.867 MB / 0.9174 GB, free: 3.934 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009151/1.517, allocations: 5.75 MB / 0.9231 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/1.536, allocations: 9.507 MB / 0.9323 GB, free: 2.637 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.74e-05/1.536, allocations: 28 kB / 0.9324 GB, free: 2.609 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02858/1.564, allocations: 10.7 MB / 0.9428 GB, free: 8.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/1.564, allocations: 44.88 kB / 0.9429 GB, free: 8.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001174/1.564, allocations: 88 kB / 0.9429 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/1.575, allocations: 1.822 MB / 0.9447 GB, free: 6.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01128/1.586, allocations: 2.317 MB / 0.947 GB, free: 4.391 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/1.607, allocations: 12.09 MB / 0.9588 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007158/1.614, allocations: 288 kB / 0.9591 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/1.616, allocations: 0.5155 MB / 0.9596 GB, free: 7.074 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.003395/1.619, allocations: 1.205 MB / 0.9607 GB, free: 6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/1.621, allocations: 0.5783 MB / 0.9613 GB, free: 5.418 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02565/1.646, allocations: 10.1 MB / 0.9712 GB, free: 11.4 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/1.646, allocations: 80 kB / 0.9712 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/1.647, allocations: 4 kB / 0.9712 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001712/1.647, allocations: 39.84 kB / 0.9713 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3273/1.974, allocations: 14.6 MB / 0.9855 GB, free: 286.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.622e-05/1.974, allocations: 6.984 kB / 0.9855 GB, free: 286.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009068/1.983, allocations: 1.526 MB / 0.987 GB, free: 286.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009714/1.993, allocations: 1.603 MB / 0.9886 GB, free: 286.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001613/1.994, allocations: 267 kB / 0.9889 GB, free: 286.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01522/2.01, allocations: 11.35 MB / 0.9999 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/2.01, allocations: 6.812 kB / 0.9999 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0303/2.04, allocations: 12.95 MB / 1.013 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004393/2.044, allocations: 1.245 MB / 1.014 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001392/2.046, allocations: 146.4 kB / 1.014 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00383/2.05, allocations: 152.8 kB / 1.014 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/2.051, allocations: 0.6071 MB / 1.015 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007514/2.052, allocations: 312.5 kB / 1.015 GB, free: 273 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.00297/2.055, allocations: 1.869 MB / 1.017 GB, free: 272.4 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/2.055, allocations: 0 / 1.017 GB, free: 272.4 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01638/2.071, allocations: 5.102 MB / 1.022 GB, free: 271.8 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.01435/2.085, allocations: 5.707 MB / 1.027 GB, free: 270.7 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01539/2.101, allocations: 8.417 MB / 1.036 GB, free: 267.4 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/2.101, allocations: 0 / 1.036 GB, free: 267.4 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007501/2.108, allocations: 4.482 MB / 1.04 GB, free: 265.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/2.115, allocations: 1.175 MB / 1.041 GB, free: 264.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/2.134, allocations: 12.89 MB / 1.054 GB, free: 252.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002197/2.137, allocations: 2.712 MB / 1.056 GB, free: 250.6 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006225/2.143, allocations: 1.663 MB / 1.058 GB, free: 249.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002506/2.145, allocations: 1.129 MB / 1.059 GB, free: 248.8 MB / 0.7012 GB Notification: Performance of SimCode: time 1.152e-06/2.145, allocations: 6.094 kB / 1.059 GB, free: 248.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.1946/2.34, allocations: 173.1 MB / 1.228 GB, free: 79.08 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: 14.346605465747416] Failed to read output from testmodel.py, exit status != 0: 2.3496391279622912 2.358635718 1.282720565 Calling exit ...