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.001624/0.001624, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001844/0.001844, allocations: 215 kB / 23.01 MB, free: 4.566 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.1564/0.1564, allocations: 23.89 MB / 337.1 MB, free: 11.18 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.002074/0.002074, allocations: 67.91 kB / 472.5 MB, free: 7.098 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3163, allocations: 59.87 MB / 0.5199 GB, free: 9.852 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.06322/0.3795, allocations: 51.31 MB / 0.57 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1502/0.5298, allocations: 121.5 MB / 0.6887 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006234/0.536, allocations: 95.25 kB / 0.6888 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.008342/0.5443, allocations: 2.412 MB / 0.6912 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03052/0.5749, allocations: 10.27 MB / 0.7012 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.04127/0.6161, allocations: 15.76 MB / 0.7166 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01761/0.6337, allocations: 10.54 MB / 0.7269 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0076/0.6413, allocations: 4.679 MB / 0.7314 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2839/0.9252, allocations: 5.426 MB / 0.7367 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01308/0.9383, allocations: 5.973 MB / 0.7426 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004589/0.9429, allocations: 0.8862 MB / 0.7434 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04724/0.9902, allocations: 13.91 MB / 0.757 GB, free: 26.78 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005869/0.996, allocations: 2.134 MB / 0.7591 GB, free: 26.6 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01193/1.008, allocations: 4.543 MB / 0.7635 GB, free: 25.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05605/1.064, allocations: 24.95 MB / 0.7879 GB, free: 23.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.064, allocations: 0 / 0.7879 GB, free: 23.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.044e-06/1.064, allocations: 0 / 0.7879 GB, free: 23.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0005075/1.065, allocations: 0 / 0.7879 GB, free: 23.27 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.02939/1.094, allocations: 10.66 MB / 0.7983 GB, free: 18.81 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/1.094, allocations: 9.281 kB / 0.7983 GB, free: 18.81 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/1.104, allocations: 1.954 MB / 0.8002 GB, free: 18.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008303/1.112, allocations: 3.516 MB / 0.8037 GB, free: 17.53 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/1.113, allocations: 0.5805 MB / 0.8042 GB, free: 17.45 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003003/1.116, allocations: 0.7349 MB / 0.805 GB, free: 17.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/1.136, allocations: 9.225 MB / 0.814 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001399/1.136, allocations: 9.203 kB / 0.814 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009345/1.137, allocations: 288 kB / 0.8142 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.064e-05/1.137, allocations: 172 kB / 0.8144 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/1.158, allocations: 12.72 MB / 0.8268 GB, free: 14.7 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.0681/1.227, allocations: 30.14 MB / 0.8563 GB, free: 320 kB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03773/1.264, allocations: 17.51 MB / 0.8734 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008742/1.273, allocations: 4.099 MB / 0.8774 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06716/1.34, allocations: 20.65 MB / 0.8975 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/1.34, allocations: 87.12 kB / 0.8976 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004379/1.345, allocations: 0.6585 MB / 0.8983 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 1.824e-05/1.345, allocations: 0 / 0.8983 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1337/1.478, allocations: 35.25 MB / 0.9327 GB, free: 2.844 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.479, allocations: 133.3 kB / 0.9328 GB, free: 2.699 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005607/1.484, allocations: 3.386 MB / 0.9361 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001516/1.486, allocations: 149.7 kB / 0.9363 GB, free: 15.16 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002882/1.489, allocations: 3.253 MB / 0.9394 GB, free: 11.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00388/1.492, allocations: 2.711 MB / 0.9421 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003284/1.496, allocations: 1.706 MB / 0.9438 GB, free: 7.516 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.496, allocations: 307.7 kB / 0.9441 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00594/1.502, allocations: 2.869 MB / 0.9469 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009883/1.512, allocations: 5.747 MB / 0.9525 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01803/1.53, allocations: 9.502 MB / 0.9617 GB, free: 3.121 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.465e-05/1.53, allocations: 24 kB / 0.9618 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03112/1.561, allocations: 10.72 MB / 0.9722 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.733e-05/1.561, allocations: 43 kB / 0.9723 GB, free: 8.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.561, allocations: 92 kB / 0.9724 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009346/1.57, allocations: 1.827 MB / 0.9742 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01059/1.581, allocations: 2.31 MB / 0.9764 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2709/1.852, allocations: 12.31 MB / 0.9884 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007189/1.859, allocations: 294.5 kB / 0.9887 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001673/1.861, allocations: 0.5161 MB / 0.9892 GB, free: 291.2 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.003349/1.864, allocations: 1.203 MB / 0.9904 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/1.866, allocations: 0.6036 MB / 0.991 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0247/1.891, allocations: 10.12 MB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.813e-05/1.891, allocations: 78.19 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.986e-05/1.891, allocations: 4.406 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001792/1.891, allocations: 40.17 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03877/1.93, allocations: 16.32 MB / 1.017 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.17e-05/1.93, allocations: 6.156 kB / 1.017 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007537/1.937, allocations: 1.525 MB / 1.018 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007576/1.945, allocations: 1.607 MB / 1.02 GB, free: 280.6 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001596/1.946, allocations: 269.6 kB / 1.02 GB, free: 280.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01326/1.96, allocations: 11.56 MB / 1.032 GB, free: 271.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/1.96, allocations: 11.2 kB / 1.032 GB, free: 271.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02613/1.986, allocations: 12.98 MB / 1.044 GB, free: 265.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00424/1.99, allocations: 1.274 MB / 1.045 GB, free: 265.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001692/1.992, allocations: 142.8 kB / 1.046 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004124/1.996, allocations: 161.2 kB / 1.046 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001078/1.997, allocations: 0.6078 MB / 1.046 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005552/1.998, allocations: 319.4 kB / 1.047 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002787/2, allocations: 2.041 MB / 1.049 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/2, allocations: 0 / 1.049 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01509/2.015, allocations: 5.107 MB / 1.054 GB, free: 263.6 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.01256/2.028, allocations: 5.706 MB / 1.059 GB, free: 262.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01555/2.044, allocations: 8.415 MB / 1.067 GB, free: 256.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/2.044, allocations: 0 / 1.067 GB, free: 256.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008162/2.052, allocations: 4.491 MB / 1.072 GB, free: 252.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006624/2.058, allocations: 1.189 MB / 1.073 GB, free: 251.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02191/2.08, allocations: 13.02 MB / 1.086 GB, free: 238.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002441/2.083, allocations: 3.174 MB / 1.089 GB, free: 235.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004355/2.087, allocations: 1.459 MB / 1.09 GB, free: 234.2 MB / 0.7169 GB Notification: Performance of SimCode: time 1.773e-06/2.087, allocations: 3.938 kB / 1.09 GB, free: 234.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.5365/2.623, allocations: 287.5 MB / 1.371 GB, free: 270.8 MB / 0.7169 GB " [Timeout remaining time 657] 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 os._exit(0), Time elapsed: 21.246053858019877] Failed to read output from testmodel.py, exit status != 0: 2.63442807001411 2.645595013 1.5785952939999999 Calling exit ...