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.001249/0.001249, allocations: 99.75 kB / 18.95 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.001384/0.001384, allocations: 220.9 kB / 22.25 MB, free: 5.105 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.35/1.35, 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.1264/0.1264, allocations: 23.88 MB / 336.3 MB, free: 10.94 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.001931/0.001931, allocations: 71.91 kB / 471.2 MB, free: 7.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3078, allocations: 59.85 MB / 0.5186 GB, free: 9.609 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.09062/0.3984, allocations: 47.01 MB / 0.5645 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1358/0.5342, allocations: 106.1 MB / 0.6681 GB, free: 356 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005814/0.54, allocations: 103.2 kB / 0.6682 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007036/0.547, allocations: 2.152 MB / 0.6703 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02917/0.5762, allocations: 10.18 MB / 0.6802 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0415/0.6177, allocations: 15.79 MB / 0.6956 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01533/0.633, allocations: 10.52 MB / 0.7059 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006766/0.6398, allocations: 4.706 MB / 0.7105 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008488/0.6483, allocations: 5.441 MB / 0.7158 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009834/0.6581, allocations: 5.974 MB / 0.7216 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.002923/0.661, allocations: 0.8867 MB / 0.7225 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2674/0.9284, allocations: 13.37 MB / 0.7356 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003206/0.9316, allocations: 2.138 MB / 0.7377 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008358/0.94, allocations: 3.874 MB / 0.7414 GB, free: 37.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04798/0.9879, allocations: 24.87 MB / 0.7657 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.988, allocations: 0 / 0.7657 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.988, allocations: 0 / 0.7657 GB, free: 35.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0003072/0.9883, allocations: 0 / 0.7657 GB, free: 35.74 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.02066/1.009, allocations: 10.62 MB / 0.7761 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.009, allocations: 13.91 kB / 0.7761 GB, free: 31.29 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00101/1.01, allocations: 0.9056 MB / 0.777 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008284/1.018, allocations: 1.948 MB / 0.7789 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00663/1.025, allocations: 3.518 MB / 0.7823 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/1.025, allocations: 0.581 MB / 0.7829 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001473/1.027, allocations: 0.7349 MB / 0.7836 GB, free: 29.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01535/1.042, allocations: 9.22 MB / 0.7926 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/1.042, allocations: 3.375 kB / 0.7926 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00087/1.043, allocations: 286.6 kB / 0.7929 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.946e-05/1.043, allocations: 174.2 kB / 0.7931 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01835/1.062, allocations: 12.58 MB / 0.8054 GB, free: 28.57 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.04393/1.105, allocations: 24.88 MB / 0.8297 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02752/1.133, allocations: 17.1 MB / 0.8464 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0073/1.14, allocations: 4.095 MB / 0.8504 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05172/1.192, allocations: 19.55 MB / 0.8694 GB, free: 4.301 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.533e-05/1.192, allocations: 93.78 kB / 0.8695 GB, free: 4.199 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002472/1.195, allocations: 0.6515 MB / 0.8702 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.02e-05/1.195, allocations: 0 / 0.8702 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1092/1.304, allocations: 35.26 MB / 0.9046 GB, free: 0.5898 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.304, allocations: 132 kB / 0.9047 GB, free: 460 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004948/1.309, allocations: 3.539 MB / 0.9082 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.31, allocations: 145.7 kB / 0.9083 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002555/1.312, allocations: 3.249 MB / 0.9115 GB, free: 9.508 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003186/1.316, allocations: 2.716 MB / 0.9142 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002616/1.318, allocations: 1.702 MB / 0.9158 GB, free: 5.109 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.318, allocations: 308.5 kB / 0.9161 GB, free: 4.809 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00555/1.324, allocations: 2.867 MB / 0.9189 GB, free: 1.938 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01151/1.335, allocations: 5.744 MB / 0.9245 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0222/1.358, allocations: 9.506 MB / 0.9338 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.358, allocations: 24 kB / 0.9338 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03278/1.391, allocations: 10.73 MB / 0.9443 GB, free: 6.488 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/1.391, allocations: 46.81 kB / 0.9443 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.391, allocations: 95.5 kB / 0.9444 GB, free: 6.355 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008541/1.399, allocations: 1.82 MB / 0.9462 GB, free: 4.547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/1.41, allocations: 2.316 MB / 0.9485 GB, free: 2.375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0188/1.429, allocations: 12.21 MB / 0.9604 GB, free: 5.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006229/1.435, allocations: 292 kB / 0.9607 GB, free: 5.395 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001325/1.436, allocations: 0.5194 MB / 0.9612 GB, free: 4.875 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.002925/1.439, allocations: 1.201 MB / 0.9624 GB, free: 3.805 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001532/1.441, allocations: 0.5977 MB / 0.9629 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.023/1.464, allocations: 10.11 MB / 0.9728 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.494e-05/1.464, allocations: 80 kB / 0.9729 GB, free: 9.082 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/1.464, allocations: 4 kB / 0.9729 GB, free: 9.078 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001911/1.464, allocations: 39.84 kB / 0.9729 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2526/1.717, allocations: 15.29 MB / 0.9879 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/1.717, allocations: 5.625 kB / 0.9879 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007571/1.724, allocations: 1.532 MB / 0.9894 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007544/1.732, allocations: 1.6 MB / 0.9909 GB, free: 286.9 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001427/1.733, allocations: 260.6 kB / 0.9912 GB, free: 286.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01323/1.747, allocations: 11.46 MB / 1.002 GB, free: 278.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.747, allocations: 7.344 kB / 1.002 GB, free: 278.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02438/1.771, allocations: 12.98 MB / 1.015 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003506/1.774, allocations: 1.27 MB / 1.016 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001346/1.776, allocations: 148 kB / 1.016 GB, free: 272.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003456/1.779, allocations: 153.4 kB / 1.017 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001185/1.78, allocations: 0.61 MB / 1.017 GB, free: 272.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005984/1.781, allocations: 312 kB / 1.017 GB, free: 272.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002833/1.784, allocations: 2.042 MB / 1.019 GB, free: 271.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.784, allocations: 2.297 kB / 1.019 GB, free: 271.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01426/1.798, allocations: 5.103 MB / 1.024 GB, free: 271.2 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.0323/1.83, allocations: 19.16 MB / 1.043 GB, free: 262 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01435/1.845, allocations: 8.422 MB / 1.051 GB, free: 254.3 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/1.845, allocations: 0 / 1.051 GB, free: 254.3 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007154/1.852, allocations: 4.48 MB / 1.056 GB, free: 250.2 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005918/1.858, allocations: 1.184 MB / 1.057 GB, free: 249.3 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08178/1.94, allocations: 60.13 MB / 1.116 GB, free: 187.6 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002138/1.942, allocations: 2.711 MB / 1.118 GB, free: 184.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.006142/1.948, allocations: 1.677 MB / 1.12 GB, free: 183.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004193/1.952, allocations: 3.722 MB / 1.124 GB, free: 180.1 MB / 0.7012 GB Notification: Performance of SimCode: time 1.432e-06/1.952, allocations: 0 / 1.124 GB, free: 180.1 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5232/2.475, allocations: 224.3 MB / 1.343 GB, free: 266.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.01/29.48, allocations: 9.469 kB / 1.343 GB, free: 266.2 MB / 0.7012 GB " [Timeout remaining time 630] (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 & python3 -m fmpy simulate --output-file Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane_res.csv --start-time 0 --stop-time 1e-08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-12 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: 32.1834674020065] Failed to read output from testmodel.py, exit status != 0: 29.732670191995567 29.75637047 28.763370648 Calling exit ...