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.001474/0.001474, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001571/0.001571, allocations: 217 kB / 22.25 MB, free: 5.254 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.513/1.513, allocations: 230.6 MB / 256 MB, free: 7.785 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.156/0.156, allocations: 23.88 MB / 336.3 MB, free: 10.95 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) [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.002243/0.002243, allocations: 71.89 kB / 471.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3305, allocations: 59.86 MB / 0.5186 GB, free: 9.512 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.09749/0.428, allocations: 46.97 MB / 0.5644 GB, free: 10.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1465/0.5745, allocations: 106.1 MB / 0.668 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007761/0.5822, allocations: 95.25 kB / 0.6681 GB, free: 308 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.008117/0.5904, allocations: 2.167 MB / 0.6703 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03682/0.6272, allocations: 10.17 MB / 0.6802 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.05296/0.6801, allocations: 15.78 MB / 0.6956 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0182/0.6983, allocations: 10.53 MB / 0.7059 GB, free: 9.438 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007867/0.7062, allocations: 4.702 MB / 0.7105 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009781/0.716, allocations: 5.441 MB / 0.7158 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.7275, allocations: 5.974 MB / 0.7216 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003107/0.7306, allocations: 0.8867 MB / 0.7225 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3429/1.073, allocations: 13.37 MB / 0.7355 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004301/1.078, allocations: 2.138 MB / 0.7376 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01544/1.093, allocations: 3.879 MB / 0.7414 GB, free: 37.08 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.06935/1.163, allocations: 24.86 MB / 0.7657 GB, free: 35.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/1.163, allocations: 0 / 0.7657 GB, free: 35.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.104e-06/1.163, allocations: 0 / 0.7657 GB, free: 35.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000593/1.163, allocations: 0 / 0.7657 GB, free: 35.52 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.03302/1.196, allocations: 10.62 MB / 0.7761 GB, free: 31.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/1.196, allocations: 9.75 kB / 0.7761 GB, free: 31.08 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003316/1.2, allocations: 0.9047 MB / 0.777 GB, free: 31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01261/1.212, allocations: 1.948 MB / 0.7789 GB, free: 30.53 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01081/1.223, allocations: 3.518 MB / 0.7823 GB, free: 29.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001365/1.224, allocations: 0.5798 MB / 0.7829 GB, free: 29.64 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/1.229, allocations: 0.7346 MB / 0.7836 GB, free: 29.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/1.259, allocations: 9.224 MB / 0.7926 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004195/1.259, allocations: 3.406 kB / 0.7926 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002762/1.262, allocations: 289.5 kB / 0.7929 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/1.262, allocations: 171.5 kB / 0.793 GB, free: 29.08 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03132/1.294, allocations: 12.58 MB / 0.8053 GB, free: 28.34 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.06505/1.359, allocations: 24.87 MB / 0.8296 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03585/1.394, allocations: 17.1 MB / 0.8463 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01063/1.405, allocations: 4.101 MB / 0.8503 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06733/1.472, allocations: 19.55 MB / 0.8694 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.94e-05/1.473, allocations: 93.75 kB / 0.8695 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003317/1.476, allocations: 0.6529 MB / 0.8701 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.095e-05/1.476, allocations: 0 / 0.8701 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.135/1.611, allocations: 35.26 MB / 0.9046 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/1.611, allocations: 129.3 kB / 0.9047 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005435/1.616, allocations: 3.535 MB / 0.9081 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001501/1.618, allocations: 149.7 kB / 0.9083 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002644/1.621, allocations: 3.254 MB / 0.9115 GB, free: 9.574 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003839/1.624, allocations: 2.707 MB / 0.9141 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003122/1.628, allocations: 1.706 MB / 0.9158 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.628, allocations: 305.1 kB / 0.9161 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/1.633, allocations: 2.865 MB / 0.9189 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009346/1.643, allocations: 5.751 MB / 0.9245 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01784/1.661, allocations: 9.502 MB / 0.9338 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-05/1.661, allocations: 24 kB / 0.9338 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02916/1.69, allocations: 10.73 MB / 0.9443 GB, free: 6.562 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.349e-05/1.69, allocations: 44.88 kB / 0.9443 GB, free: 6.52 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/1.69, allocations: 92 kB / 0.9444 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/1.7, allocations: 1.815 MB / 0.9462 GB, free: 4.621 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01112/1.711, allocations: 2.32 MB / 0.9484 GB, free: 2.445 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02075/1.732, allocations: 12.21 MB / 0.9604 GB, free: 5.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00746/1.739, allocations: 288 kB / 0.9606 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002012/1.741, allocations: 0.5194 MB / 0.9611 GB, free: 4.945 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.004406/1.746, allocations: 1.201 MB / 0.9623 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/1.748, allocations: 0.6054 MB / 0.9629 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02658/1.775, allocations: 10.12 MB / 0.9728 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.882e-05/1.775, allocations: 80 kB / 0.9729 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.083e-05/1.775, allocations: 8 kB / 0.9729 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001733/1.775, allocations: 39.84 kB / 0.9729 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2942/2.069, allocations: 15.28 MB / 0.9878 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-05/2.069, allocations: 5.547 kB / 0.9878 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008997/2.078, allocations: 1.526 MB / 0.9893 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009398/2.088, allocations: 1.602 MB / 0.9909 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001948/2.089, allocations: 266.8 kB / 0.9911 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01574/2.105, allocations: 11.47 MB / 1.002 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/2.105, allocations: 8.375 kB / 1.002 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03289/2.138, allocations: 12.97 MB / 1.015 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/2.142, allocations: 1.268 MB / 1.016 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001886/2.144, allocations: 146.8 kB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004641/2.149, allocations: 151.1 kB / 1.017 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001511/2.15, allocations: 0.6082 MB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006829/2.151, allocations: 312.7 kB / 1.017 GB, free: 273 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002852/2.154, allocations: 2.048 MB / 1.019 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/2.154, allocations: 0 / 1.019 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01628/2.17, allocations: 5.105 MB / 1.024 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.03917/2.209, allocations: 19.16 MB / 1.043 GB, free: 262.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01537/2.225, allocations: 8.427 MB / 1.051 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/2.225, allocations: 0 / 1.051 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008243/2.233, allocations: 4.485 MB / 1.056 GB, free: 250.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007442/2.24, allocations: 1.18 MB / 1.057 GB, free: 249.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1034/2.344, allocations: 60.13 MB / 1.116 GB, free: 187.7 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/2.346, allocations: 2.704 MB / 1.118 GB, free: 185 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.007006/2.353, allocations: 1.686 MB / 1.12 GB, free: 183.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005676/2.359, allocations: 3.724 MB / 1.124 GB, free: 180.1 MB / 0.7012 GB Notification: Performance of SimCode: time 1.293e-06/2.359, allocations: 0 / 1.124 GB, free: 180.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5825/2.941, allocations: 224.3 MB / 1.343 GB, free: 267.6 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 28.53/31.47, allocations: 9.531 kB / 1.343 GB, free: 267.6 MB / 0.7012 GB " [Timeout remaining time 628] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 34.567349741992075] Failed to read output from testmodel.py, exit status != 0: 31.740176566003356 31.750277633 30.584939274 Calling exit ...