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.001287/0.001287, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001392/0.001392, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.369/1.369, allocations: 230.6 MB / 256 MB, free: 8.004 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.1308/0.1308, allocations: 23.9 MB / 336.3 MB, free: 11.15 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_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.002023/0.002023, allocations: 67.89 kB / 471.3 MB, free: 7.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2804/0.2824, allocations: 59.87 MB / 0.5187 GB, free: 9.566 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.06073/0.3431, allocations: 51.22 MB / 0.5687 GB, free: 6.316 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1438/0.4869, allocations: 121.5 MB / 0.6874 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005531/0.4924, allocations: 95.25 kB / 0.6875 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007354/0.4998, allocations: 2.412 MB / 0.6898 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03154/0.5313, allocations: 10.27 MB / 0.6999 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.03915/0.5705, allocations: 15.76 MB / 0.7153 GB, free: 128 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01557/0.5861, allocations: 10.54 MB / 0.7256 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006755/0.5928, allocations: 4.683 MB / 0.7301 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2526/0.8454, allocations: 5.429 MB / 0.7354 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01133/0.8568, allocations: 5.972 MB / 0.7413 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003298/0.8601, allocations: 0.8849 MB / 0.7421 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03612/0.8962, allocations: 13.91 MB / 0.7557 GB, free: 26.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003834/0.9, allocations: 2.138 MB / 0.7578 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.006583/0.9066, allocations: 4.539 MB / 0.7622 GB, free: 25.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04538/0.952, allocations: 24.96 MB / 0.7866 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.952, allocations: 0 / 0.7866 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.952, allocations: 1.031 kB / 0.7866 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002613/0.9522, allocations: 0 / 0.7866 GB, free: 23.08 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.02288/0.9751, allocations: 10.65 MB / 0.797 GB, free: 18.63 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.9752, allocations: 8.125 kB / 0.797 GB, free: 18.63 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001757/0.9769, allocations: 0.9047 MB / 0.7979 GB, free: 18.55 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01019/0.9871, allocations: 1.951 MB / 0.7998 GB, free: 18.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008853/0.996, allocations: 3.513 MB / 0.8032 GB, free: 17.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006354/0.9966, allocations: 0.5779 MB / 0.8038 GB, free: 17.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003014/0.9996, allocations: 0.7426 MB / 0.8045 GB, free: 17.18 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01973/1.019, allocations: 9.218 MB / 0.8135 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/1.019, allocations: 7.75 kB / 0.8135 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007434/1.02, allocations: 288 kB / 0.8138 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.986e-05/1.02, allocations: 174.7 kB / 0.814 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01795/1.038, allocations: 12.72 MB / 0.8264 GB, free: 13.98 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.06411/1.102, allocations: 30.13 MB / 0.8558 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03476/1.137, allocations: 17.52 MB / 0.8729 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008908/1.146, allocations: 4.098 MB / 0.8769 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05217/1.198, allocations: 20.65 MB / 0.8971 GB, free: 5.828 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/1.198, allocations: 93.34 kB / 0.8972 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002652/1.201, allocations: 0.6558 MB / 0.8978 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 1.009e-05/1.201, allocations: 0 / 0.8978 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1153/1.316, allocations: 35.26 MB / 0.9323 GB, free: 2.117 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/1.316, allocations: 128.2 kB / 0.9324 GB, free: 1.98 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004624/1.321, allocations: 3.388 MB / 0.9357 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/1.322, allocations: 148.4 kB / 0.9358 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002534/1.325, allocations: 3.249 MB / 0.939 GB, free: 11.19 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003043/1.328, allocations: 2.719 MB / 0.9417 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/1.33, allocations: 1.702 MB / 0.9433 GB, free: 6.793 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001279/1.33, allocations: 305.1 kB / 0.9436 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005202/1.336, allocations: 2.867 MB / 0.9464 GB, free: 3.621 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007904/1.343, allocations: 5.747 MB / 0.952 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.359, allocations: 9.505 MB / 0.9613 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.417e-05/1.359, allocations: 24 kB / 0.9613 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02517/1.384, allocations: 10.72 MB / 0.9718 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/1.384, allocations: 40 kB / 0.9719 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001006/1.384, allocations: 95.19 kB / 0.9719 GB, free: 8.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00925/1.393, allocations: 1.826 MB / 0.9737 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/1.403, allocations: 2.322 MB / 0.976 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2234/1.627, allocations: 12.3 MB / 0.988 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/1.633, allocations: 293.9 kB / 0.9883 GB, free: 291.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/1.634, allocations: 0.5139 MB / 0.9888 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.002836/1.637, allocations: 1.202 MB / 0.99 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/1.638, allocations: 0.6067 MB / 0.9906 GB, free: 291.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02282/1.661, allocations: 10.13 MB / 1 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.698e-05/1.661, allocations: 78.09 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.876e-05/1.661, allocations: 4.406 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001624/1.661, allocations: 42.44 kB / 1.001 GB, free: 287.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03294/1.694, allocations: 16.32 MB / 1.016 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.694, allocations: 7.219 kB / 1.016 GB, free: 281.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007201/1.701, allocations: 1.53 MB / 1.018 GB, free: 281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007683/1.709, allocations: 1.608 MB / 1.02 GB, free: 280.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00131/1.71, allocations: 260.4 kB / 1.02 GB, free: 280.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.723, allocations: 11.55 MB / 1.031 GB, free: 271.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/1.723, allocations: 16.75 kB / 1.031 GB, free: 271.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02311/1.746, allocations: 12.98 MB / 1.044 GB, free: 265.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003196/1.749, allocations: 1.274 MB / 1.045 GB, free: 265.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001154/1.751, allocations: 149.9 kB / 1.045 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.754, allocations: 153.1 kB / 1.045 GB, free: 265 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009347/1.755, allocations: 0.6099 MB / 1.046 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000516/1.755, allocations: 314.9 kB / 1.046 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002546/1.758, allocations: 2.036 MB / 1.048 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/1.758, allocations: 2.625 kB / 1.048 GB, free: 264.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01366/1.772, allocations: 5.109 MB / 1.053 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.03446/1.806, allocations: 19.15 MB / 1.072 GB, free: 251.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01367/1.82, allocations: 8.413 MB / 1.08 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/1.82, allocations: 0 / 1.08 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.006365/1.826, allocations: 4.489 MB / 1.084 GB, free: 238.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005082/1.831, allocations: 1.19 MB / 1.086 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08397/1.915, allocations: 60.17 MB / 1.144 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002025/1.917, allocations: 3.177 MB / 1.148 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006042/1.923, allocations: 1.677 MB / 1.149 GB, free: 169 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004544/1.928, allocations: 3.726 MB / 1.153 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.928, allocations: 0 / 1.153 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7378/2.666, allocations: 223.9 MB / 1.371 GB, free: 264.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.02/46.69, allocations: 0.6562 kB / 1.371 GB, free: 264.6 MB / 0.7169 GB " [Timeout remaining time 613] (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 & python3 -m fmpy simulate --output-file Chemical_master_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_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 99.8524318149939] Failed to read output from testmodel.py, exit status != 0: 46.928644845000235 46.940410835 45.985468339 Calling exit ...