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.001266/0.001266, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001423/0.001423, allocations: 217.9 kB / 23.05 MB, free: 5.074 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8 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.1451/0.1451, allocations: 23.88 MB / 337.1 MB, free: 11.17 MB / 270.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.002187/0.002187, allocations: 63.91 kB / 472 MB, free: 7.625 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3478, allocations: 59.86 MB / 0.5194 GB, free: 9.641 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.06783/0.4157, allocations: 51.06 MB / 0.5693 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1645/0.5802, allocations: 121.5 MB / 0.688 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009405/0.5896, allocations: 95.25 kB / 0.6881 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.009773/0.5994, allocations: 2.397 MB / 0.6904 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03522/0.6346, allocations: 10.28 MB / 0.7004 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0502/0.6848, allocations: 15.76 MB / 0.7158 GB, free: 316 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.02021/0.705, allocations: 10.54 MB / 0.7261 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01106/0.7161, allocations: 4.679 MB / 0.7307 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3374/1.053, allocations: 5.429 MB / 0.736 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0148/1.068, allocations: 5.971 MB / 0.7418 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.005323/1.074, allocations: 0.8853 MB / 0.7427 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05256/1.126, allocations: 13.91 MB / 0.7563 GB, free: 26.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.005879/1.132, allocations: 2.146 MB / 0.7584 GB, free: 26.41 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0109/1.143, allocations: 4.543 MB / 0.7628 GB, free: 25.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.06831/1.211, allocations: 24.95 MB / 0.7872 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.211, allocations: 0 / 0.7872 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.826e-06/1.211, allocations: 0 / 0.7872 GB, free: 23.08 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004977/1.212, allocations: 2.656 kB / 0.7872 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.03342/1.245, allocations: 10.65 MB / 0.7976 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.245, allocations: 12.44 kB / 0.7976 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002237/1.245, allocations: 189.6 kB / 0.7978 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004503/1.25, allocations: 0.8997 MB / 0.7987 GB, free: 18.53 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01298/1.263, allocations: 1.947 MB / 0.8006 GB, free: 18.06 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/1.274, allocations: 3.52 MB / 0.804 GB, free: 17.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009276/1.275, allocations: 0.5781 MB / 0.8046 GB, free: 17.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004546/1.279, allocations: 0.7433 MB / 0.8053 GB, free: 17.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02962/1.309, allocations: 9.222 MB / 0.8143 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003527/1.309, allocations: 9.906 kB / 0.8143 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002964/1.312, allocations: 288 kB / 0.8146 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001444/1.313, allocations: 172 kB / 0.8147 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02858/1.341, allocations: 12.72 MB / 0.8272 GB, free: 13.96 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.07776/1.419, allocations: 30.13 MB / 0.8566 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03981/1.459, allocations: 17.52 MB / 0.8737 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009817/1.468, allocations: 4.099 MB / 0.8777 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06205/1.531, allocations: 20.65 MB / 0.8979 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/1.531, allocations: 99.11 kB / 0.8979 GB, free: 5.711 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004152/1.535, allocations: 0.6563 MB / 0.8986 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 2.607e-05/1.535, allocations: 0 / 0.8986 GB, free: 5.062 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1391/1.674, allocations: 35.25 MB / 0.933 GB, free: 2.105 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/1.674, allocations: 132 kB / 0.9331 GB, free: 1.965 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005464/1.68, allocations: 3.384 MB / 0.9364 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001297/1.681, allocations: 153.7 kB / 0.9366 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002791/1.684, allocations: 3.249 MB / 0.9398 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.004041/1.688, allocations: 2.703 MB / 0.9424 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0037/1.691, allocations: 1.705 MB / 0.9441 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.692, allocations: 313 kB / 0.9444 GB, free: 6.48 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/1.697, allocations: 2.861 MB / 0.9472 GB, free: 3.613 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/1.708, allocations: 5.748 MB / 0.9528 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01884/1.727, allocations: 9.509 MB / 0.9621 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001124/1.727, allocations: 28 kB / 0.9621 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03482/1.761, allocations: 10.71 MB / 0.9726 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/1.762, allocations: 48.06 kB / 0.9726 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001781/1.762, allocations: 92 kB / 0.9727 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009808/1.772, allocations: 1.815 MB / 0.9745 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0113/1.783, allocations: 2.318 MB / 0.9767 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2771/2.06, allocations: 12.31 MB / 0.9887 GB, free: 292.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007224/2.067, allocations: 293.1 kB / 0.989 GB, free: 292.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/2.069, allocations: 0.5169 MB / 0.9895 GB, free: 292.9 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.004084/2.073, allocations: 1.204 MB / 0.9907 GB, free: 292.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001812/2.075, allocations: 0.6029 MB / 0.9913 GB, free: 292.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02659/2.102, allocations: 10.12 MB / 1.001 GB, free: 289.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.479e-05/2.102, allocations: 81.19 kB / 1.001 GB, free: 289.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/2.102, allocations: 4.094 kB / 1.001 GB, free: 289.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002005/2.102, allocations: 41.19 kB / 1.001 GB, free: 289.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0383/2.14, allocations: 16.32 MB / 1.017 GB, free: 282.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.712e-05/2.14, allocations: 4.656 kB / 1.017 GB, free: 282.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007676/2.148, allocations: 1.532 MB / 1.019 GB, free: 282.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007971/2.156, allocations: 1.606 MB / 1.02 GB, free: 282 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/2.158, allocations: 267.2 kB / 1.021 GB, free: 281.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/2.172, allocations: 11.57 MB / 1.032 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/2.172, allocations: 7.562 kB / 1.032 GB, free: 272.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02772/2.199, allocations: 12.97 MB / 1.045 GB, free: 267.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004592/2.204, allocations: 1.274 MB / 1.046 GB, free: 266.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001824/2.206, allocations: 150.2 kB / 1.046 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00448/2.21, allocations: 150 kB / 1.046 GB, free: 266.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00142/2.212, allocations: 0.613 MB / 1.047 GB, free: 266.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008575/2.212, allocations: 310 kB / 1.047 GB, free: 266.2 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003526/2.216, allocations: 2.04 MB / 1.049 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/2.216, allocations: 0 / 1.049 GB, free: 265.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.01579/2.232, allocations: 5.105 MB / 1.054 GB, free: 264.9 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.03468/2.266, allocations: 19.16 MB / 1.073 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01582/2.282, allocations: 8.416 MB / 1.081 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.282, allocations: 4 kB / 1.081 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008411/2.291, allocations: 4.482 MB / 1.085 GB, free: 239.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007512/2.298, allocations: 1.188 MB / 1.086 GB, free: 238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0953/2.393, allocations: 60.18 MB / 1.145 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002753/2.396, allocations: 3.178 MB / 1.148 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006433/2.403, allocations: 1.68 MB / 1.15 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004978/2.408, allocations: 3.72 MB / 1.154 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.022e-06/2.408, allocations: 3.938 kB / 1.154 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7696/3.177, allocations: 223.9 MB / 1.372 GB, free: 265.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.38/50.56, allocations: 5.672 kB / 1.372 GB, free: 265.1 MB / 0.7169 GB " [Timeout remaining time 609] (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: 53.67242342000827] Failed to read output from testmodel.py, exit status != 0: 50.863691926933825 50.880907936 49.665600038 Calling exit ...