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.001288/0.001288, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001659/0.001659, allocations: 221.2 kB / 23.04 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.1408/0.1408, allocations: 23.85 MB / 337.1 MB, free: 11.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,fileNamePrefix="Chemical_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.002151/0.002151, allocations: 63.91 kB / 472 MB, free: 7.668 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3197, allocations: 59.87 MB / 0.5194 GB, free: 9.539 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.06136/0.381, allocations: 51.05 MB / 0.5692 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1486/0.5297, allocations: 121.5 MB / 0.6879 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005682/0.5353, allocations: 99.25 kB / 0.688 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.007937/0.5433, allocations: 2.397 MB / 0.6904 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.03114/0.5744, allocations: 10.28 MB / 0.7004 GB, free: 232 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.04337/0.6178, allocations: 15.76 MB / 0.7158 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01908/0.6369, allocations: 10.54 MB / 0.7261 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009682/0.6465, allocations: 4.686 MB / 0.7307 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.2864/0.9329, allocations: 5.425 MB / 0.736 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.9458, allocations: 5.974 MB / 0.7418 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.004338/0.9502, allocations: 0.886 MB / 0.7427 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04651/0.9967, allocations: 13.91 MB / 0.7562 GB, free: 26.42 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.004859/1.002, allocations: 2.139 MB / 0.7583 GB, free: 26.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.008435/1.01, allocations: 4.548 MB / 0.7628 GB, free: 25.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.04915/1.059, allocations: 24.95 MB / 0.7871 GB, free: 23.06 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.059, allocations: 0 / 0.7871 GB, free: 23.06 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/1.059, allocations: 0 / 0.7871 GB, free: 23.06 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004452/1.06, allocations: 2.969 kB / 0.7871 GB, free: 23.06 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.02717/1.087, allocations: 10.65 MB / 0.7975 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.087, allocations: 9.031 kB / 0.7975 GB, free: 18.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001469/1.087, allocations: 185.6 kB / 0.7977 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00243/1.089, allocations: 0.9094 MB / 0.7986 GB, free: 18.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.1, allocations: 1.947 MB / 0.8005 GB, free: 18.05 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007849/1.108, allocations: 3.522 MB / 0.8039 GB, free: 17.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005709/1.108, allocations: 0.5784 MB / 0.8045 GB, free: 17.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002605/1.111, allocations: 0.7426 MB / 0.8052 GB, free: 17.13 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/1.136, allocations: 9.218 MB / 0.8142 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003827/1.136, allocations: 3.375 kB / 0.8142 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002878/1.139, allocations: 288 kB / 0.8145 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001347/1.139, allocations: 178.7 kB / 0.8147 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02408/1.163, allocations: 12.72 MB / 0.8271 GB, free: 14.12 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.07052/1.234, allocations: 30.14 MB / 0.8565 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0402/1.274, allocations: 17.52 MB / 0.8736 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01003/1.284, allocations: 4.098 MB / 0.8776 GB, free: 10.2 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05954/1.344, allocations: 20.64 MB / 0.8978 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.84e-05/1.344, allocations: 97.78 kB / 0.8979 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00312/1.347, allocations: 0.6557 MB / 0.8985 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=581): time 1.237e-05/1.347, allocations: 0 / 0.8985 GB, free: 5.234 MB / 0.6387 GB Notification: Performance of matching and sorting (n=757): time 0.1248/1.472, allocations: 35.26 MB / 0.933 GB, free: 2.273 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/1.472, allocations: 132 kB / 0.9331 GB, free: 2.133 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005017/1.477, allocations: 3.386 MB / 0.9364 GB, free: 14.74 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.001206/1.478, allocations: 145.7 kB / 0.9365 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.002751/1.481, allocations: 3.249 MB / 0.9397 GB, free: 11.35 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.003664/1.484, allocations: 2.709 MB / 0.9424 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002859/1.487, allocations: 1.702 MB / 0.944 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001243/1.487, allocations: 307.7 kB / 0.9443 GB, free: 6.656 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/1.493, allocations: 2.869 MB / 0.9471 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01006/1.503, allocations: 5.752 MB / 0.9527 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01835/1.522, allocations: 9.499 MB / 0.962 GB, free: 2.551 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.588e-05/1.522, allocations: 28 kB / 0.962 GB, free: 2.523 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02758/1.549, allocations: 10.72 MB / 0.9725 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.311e-05/1.549, allocations: 44 kB / 0.9726 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001146/1.549, allocations: 92 kB / 0.9726 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009487/1.559, allocations: 1.825 MB / 0.9744 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01176/1.571, allocations: 2.312 MB / 0.9767 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2488/1.819, allocations: 12.3 MB / 0.9887 GB, free: 292.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006417/1.826, allocations: 295.9 kB / 0.989 GB, free: 292.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.827, allocations: 0.5192 MB / 0.9895 GB, free: 292.8 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.003109/1.83, allocations: 1.202 MB / 0.9907 GB, free: 292.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001614/1.832, allocations: 0.6009 MB / 0.9912 GB, free: 292.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/1.858, allocations: 10.12 MB / 1.001 GB, free: 289 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001031/1.858, allocations: 84.47 kB / 1.001 GB, free: 289 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.09e-05/1.858, allocations: 5.297 kB / 1.001 GB, free: 289 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002427/1.858, allocations: 39.78 kB / 1.001 GB, free: 289 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04052/1.899, allocations: 16.32 MB / 1.017 GB, free: 282.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.808e-05/1.899, allocations: 5.469 kB / 1.017 GB, free: 282.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008155/1.907, allocations: 1.524 MB / 1.019 GB, free: 282.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007944/1.915, allocations: 1.606 MB / 1.02 GB, free: 281.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001336/1.916, allocations: 264.7 kB / 1.021 GB, free: 281.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/1.93, allocations: 11.57 MB / 1.032 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.93, allocations: 2.094 kB / 1.032 GB, free: 272.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02714/1.957, allocations: 12.98 MB / 1.044 GB, free: 267.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003593/1.961, allocations: 1.273 MB / 1.046 GB, free: 266.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.962, allocations: 146.8 kB / 1.046 GB, free: 266.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/1.965, allocations: 157.1 kB / 1.046 GB, free: 266.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000982/1.966, allocations: 0.6023 MB / 1.047 GB, free: 266.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005744/1.967, allocations: 320.1 kB / 1.047 GB, free: 266 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002682/1.969, allocations: 2.036 MB / 1.049 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.969, allocations: 2.938 kB / 1.049 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0142/1.984, allocations: 5.106 MB / 1.054 GB, free: 264.8 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.0361/2.02, allocations: 19.17 MB / 1.073 GB, free: 251.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01585/2.036, allocations: 8.412 MB / 1.081 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/2.036, allocations: 0 / 1.081 GB, free: 243.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.008105/2.044, allocations: 4.486 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.00732/2.051, allocations: 1.193 MB / 1.086 GB, free: 238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1007/2.152, allocations: 60.17 MB / 1.145 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002172/2.154, allocations: 3.182 MB / 1.148 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.006385/2.16, allocations: 1.685 MB / 1.15 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004942/2.165, allocations: 3.718 MB / 1.154 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.052e-06/2.165, allocations: 4 kB / 1.154 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.741/2.906, allocations: 223.9 MB / 1.372 GB, free: 264.9 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 47.5/50.41, allocations: 5.875 kB / 1.372 GB, free: 264.9 MB / 0.7169 GB " [Timeout remaining time 609] (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: 53.43671811197419] Failed to read output from testmodel.py, exit status != 0: 50.7194983769441 50.741889792 49.677616049 Calling exit ...