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.001319/0.001319, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001504/0.001504, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.1426/0.1426, allocations: 23.89 MB / 333.4 MB, free: 1.148 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane",fmuType="cs",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.002285/0.002285, allocations: 64.31 kB / 466.8 MB, free: 30.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1214, allocations: 59.83 MB / 0.5143 GB, free: 12.87 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.07127/0.1927, allocations: 50.88 MB / 0.564 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4022/0.5949, allocations: 121.3 MB / 0.6824 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007495/0.6023, allocations: 95.25 kB / 0.6825 GB, free: 4.293 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009586/0.6119, allocations: 2.4 MB / 0.6848 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03907/0.651, allocations: 10.2 MB / 0.6948 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.05342/0.7044, allocations: 15.61 MB / 0.71 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01876/0.7232, allocations: 10.55 MB / 0.7203 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008592/0.7318, allocations: 4.699 MB / 0.7249 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01141/0.7432, allocations: 5.429 MB / 0.7302 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01163/0.7548, allocations: 5.978 MB / 0.736 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003828/0.7586, allocations: 0.8828 MB / 0.7369 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05182/0.8105, allocations: 13.91 MB / 0.7505 GB, free: 14.6 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003966/0.8144, allocations: 2.138 MB / 0.7526 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009002/0.8234, allocations: 4.543 MB / 0.757 GB, free: 7.895 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06865/0.8921, allocations: 24.95 MB / 0.7814 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/0.8921, allocations: 0 / 0.7814 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.328e-06/0.8921, allocations: 3.984 kB / 0.7814 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0004982/0.8926, allocations: 0 / 0.7814 GB, free: 14.84 MB / 0.5762 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.03101/0.9236, allocations: 10.72 MB / 0.7918 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.9237, allocations: 16.02 kB / 0.7919 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002275/0.9239, allocations: 190.3 kB / 0.792 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00289/0.9268, allocations: 0.8994 MB / 0.7929 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.9386, allocations: 1.949 MB / 0.7948 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00891/0.9475, allocations: 3.621 MB / 0.7984 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/0.9483, allocations: 0.5551 MB / 0.7989 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003287/0.9516, allocations: 0.7407 MB / 0.7996 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02464/0.9762, allocations: 9.201 MB / 0.8086 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.9764, allocations: 7.938 kB / 0.8086 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00167/0.9781, allocations: 292 kB / 0.8089 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/0.9783, allocations: 172 kB / 0.8091 GB, free: 2.156 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02815/1.006, allocations: 12.7 MB / 0.8215 GB, free: 5.438 MB / 0.6075 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.5632/1.57, allocations: 30.31 MB / 0.8511 GB, free: 192.1 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03275/1.602, allocations: 19.84 MB / 0.8704 GB, free: 183.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008676/1.611, allocations: 4.091 MB / 0.8744 GB, free: 181.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05637/1.667, allocations: 36.63 MB / 0.9102 GB, free: 149.4 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/1.668, allocations: 97.16 kB / 0.9103 GB, free: 149.3 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003634/1.671, allocations: 0.6623 MB / 0.9109 GB, free: 148.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 2.335e-05/1.671, allocations: 1.375 kB / 0.9109 GB, free: 148.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.1231/1.794, allocations: 35.59 MB / 0.9457 GB, free: 113.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.794, allocations: 133.3 kB / 0.9458 GB, free: 113.4 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003937/1.798, allocations: 3.379 MB / 0.9491 GB, free: 110.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001282/1.8, allocations: 149.7 kB / 0.9493 GB, free: 109.9 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001433/1.801, allocations: 3.255 MB / 0.9524 GB, free: 107 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002614/1.804, allocations: 2.71 MB / 0.9551 GB, free: 104.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/1.806, allocations: 1.702 MB / 0.9568 GB, free: 103 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 4.736e-05/1.806, allocations: 305.1 kB / 0.957 GB, free: 102.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004971/1.811, allocations: 2.865 MB / 0.9598 GB, free: 99.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006493/1.818, allocations: 5.738 MB / 0.9654 GB, free: 92.79 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01364/1.832, allocations: 9.488 MB / 0.9747 GB, free: 81.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.747e-05/1.832, allocations: 24 kB / 0.9747 GB, free: 81.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.0256/1.857, allocations: 10.71 MB / 0.9852 GB, free: 71.21 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/1.857, allocations: 44 kB / 0.9852 GB, free: 71.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.471e-05/1.857, allocations: 88 kB / 0.9853 GB, free: 71.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008992/1.866, allocations: 1.815 MB / 0.9871 GB, free: 69.24 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0102/1.877, allocations: 2.316 MB / 0.9894 GB, free: 66.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/1.892, allocations: 12.83 MB / 1.002 GB, free: 53.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006637/1.899, allocations: 292 kB / 1.002 GB, free: 53.11 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.9, allocations: 0.5155 MB / 1.003 GB, free: 52.6 MB / 0.6075 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.003868/1.904, allocations: 1.209 MB / 1.004 GB, free: 51.43 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/1.907, allocations: 0.6016 MB / 1.004 GB, free: 50.83 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02602/1.933, allocations: 10.09 MB / 1.014 GB, free: 40.81 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/1.933, allocations: 82.75 kB / 1.014 GB, free: 40.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.082e-05/1.933, allocations: 4 kB / 1.014 GB, free: 40.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001868/1.933, allocations: 39.84 kB / 1.014 GB, free: 40.69 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0335/1.966, allocations: 16.32 MB / 1.03 GB, free: 24.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-05/1.966, allocations: 7.984 kB / 1.03 GB, free: 24.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008022/1.974, allocations: 1.518 MB / 1.032 GB, free: 22.86 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007744/1.982, allocations: 1.612 MB / 1.033 GB, free: 21.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001756/1.984, allocations: 259.9 kB / 1.034 GB, free: 20.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01409/1.998, allocations: 12.08 MB / 1.045 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.998, allocations: 7.938 kB / 1.045 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3055/2.304, allocations: 12.94 MB / 1.058 GB, free: 188.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004443/2.308, allocations: 1.345 MB / 1.059 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/2.31, allocations: 152.6 kB / 1.06 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004845/2.315, allocations: 152.6 kB / 1.06 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002194/2.317, allocations: 0.5799 MB / 1.06 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001175/2.318, allocations: 311.4 kB / 1.061 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00471/2.323, allocations: 2.04 MB / 1.063 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/2.323, allocations: 1.094 kB / 1.063 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01829/2.341, allocations: 5.108 MB / 1.068 GB, free: 187.6 MB / 0.6075 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.04158/2.383, allocations: 19.12 MB / 1.086 GB, free: 181.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01624/2.399, allocations: 8.4 MB / 1.094 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.399, allocations: 5.25 kB / 1.094 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008172/2.407, allocations: 4.487 MB / 1.099 GB, free: 175.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007226/2.414, allocations: 1.186 MB / 1.1 GB, free: 175.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1025/2.517, allocations: 60.1 MB / 1.159 GB, free: 120.4 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/2.52, allocations: 3.18 MB / 1.162 GB, free: 117.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.007208/2.527, allocations: 1.681 MB / 1.163 GB, free: 115.7 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005462/2.532, allocations: 3.725 MB / 1.167 GB, free: 112 MB / 0.6075 GB Notification: Performance of SimCode: time 1.323e-06/2.532, allocations: 0 / 1.167 GB, free: 112 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6086/3.141, allocations: 219.5 MB / 1.381 GB, free: 137.1 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.38/48.52, allocations: 8 kB / 1.381 GB, free: 137.1 MB / 0.6232 GB " [Timeout remaining time 611] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane_fmu --startTime=0 --stopTime=1e-08 --stepSize=4e-12 --timeout=50 --tolerance=1e-06 Chemical_master_Chemical_Obsolete_Examples_AcidBase_Dev_RedCellMembrane.fmu > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 51.60566901502898] Failed to read output from testmodel.py, exit status != 0: 48.80419103294844 48.818990254 47.923387485 Calling exit ...