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.001213/0.001213, 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.001373/0.001373, allocations: 220.4 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.374/1.374, allocations: 230.6 MB / 256 MB, free: 7.797 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.1333/0.1333, allocations: 23.93 MB / 336.4 MB, free: 10.91 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.001927/0.001927, allocations: 75.84 kB / 471.2 MB, free: 7.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2893, allocations: 59.87 MB / 0.5186 GB, free: 9.535 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.08889/0.3782, allocations: 46.97 MB / 0.5645 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.135/0.5132, allocations: 106.1 MB / 0.6681 GB, free: 324 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005512/0.5187, allocations: 95.25 kB / 0.6682 GB, free: 228 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007152/0.5259, allocations: 2.159 MB / 0.6703 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03009/0.556, allocations: 10.17 MB / 0.6803 GB, free: 3.805 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04373/0.5997, allocations: 15.78 MB / 0.6957 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01712/0.6168, allocations: 10.54 MB / 0.706 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007691/0.6245, allocations: 4.698 MB / 0.7105 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008994/0.6335, allocations: 5.441 MB / 0.7159 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01098/0.6445, allocations: 5.974 MB / 0.7217 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003275/0.6478, allocations: 0.8867 MB / 0.7226 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2974/0.9452, allocations: 13.37 MB / 0.7356 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003732/0.9489, allocations: 2.136 MB / 0.7377 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01173/0.9606, allocations: 3.884 MB / 0.7415 GB, free: 37.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05331/1.014, allocations: 24.86 MB / 0.7658 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.014, allocations: 0 / 0.7658 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.542e-06/1.014, allocations: 0.5 kB / 0.7658 GB, free: 35.72 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004451/1.014, allocations: 0 / 0.7658 GB, free: 35.72 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.0258/1.04, allocations: 10.63 MB / 0.7762 GB, free: 31.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.04, allocations: 9.562 kB / 0.7762 GB, free: 31.27 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001896/1.042, allocations: 0.9048 MB / 0.777 GB, free: 31.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01009/1.052, allocations: 1.953 MB / 0.779 GB, free: 30.72 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007905/1.06, allocations: 3.517 MB / 0.7824 GB, free: 29.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003994/1.061, allocations: 0.5782 MB / 0.783 GB, free: 29.83 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/1.063, allocations: 0.7377 MB / 0.7837 GB, free: 29.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/1.08, allocations: 9.215 MB / 0.7927 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/1.08, allocations: 6.031 kB / 0.7927 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/1.081, allocations: 291.7 kB / 0.793 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/1.082, allocations: 171.7 kB / 0.7931 GB, free: 29.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/1.102, allocations: 12.58 MB / 0.8054 GB, free: 28.52 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.05194/1.154, allocations: 24.87 MB / 0.8297 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03179/1.186, allocations: 17.1 MB / 0.8464 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009179/1.195, allocations: 4.099 MB / 0.8504 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05383/1.249, allocations: 19.56 MB / 0.8695 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.183e-05/1.249, allocations: 94 kB / 0.8696 GB, free: 4.168 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002769/1.252, allocations: 0.6508 MB / 0.8702 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.11e-05/1.252, allocations: 0 / 0.8702 GB, free: 3.523 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1259/1.378, allocations: 35.25 MB / 0.9046 GB, free: 0.5664 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.378, allocations: 129.3 kB / 0.9048 GB, free: 436 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005087/1.383, allocations: 3.539 MB / 0.9082 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001359/1.385, allocations: 148.4 kB / 0.9084 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.387, allocations: 3.257 MB / 0.9115 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0034/1.391, allocations: 2.71 MB / 0.9142 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002807/1.393, allocations: 1.702 MB / 0.9159 GB, free: 5.086 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.394, allocations: 309 kB / 0.9161 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005477/1.399, allocations: 2.868 MB / 0.9189 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008309/1.407, allocations: 5.747 MB / 0.9246 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01688/1.424, allocations: 9.502 MB / 0.9338 GB, free: 0.6211 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.747e-05/1.424, allocations: 24 kB / 0.9339 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03122/1.456, allocations: 10.72 MB / 0.9443 GB, free: 6.457 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.781e-05/1.456, allocations: 44 kB / 0.9444 GB, free: 6.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.816e-05/1.456, allocations: 92.81 kB / 0.9445 GB, free: 6.324 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009941/1.466, allocations: 1.822 MB / 0.9462 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01067/1.476, allocations: 2.306 MB / 0.9485 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02028/1.497, allocations: 12.21 MB / 0.9604 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007386/1.504, allocations: 296 kB / 0.9607 GB, free: 5.363 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001919/1.506, allocations: 0.522 MB / 0.9612 GB, free: 4.844 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.003685/1.51, allocations: 1.196 MB / 0.9624 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001928/1.512, allocations: 0.5977 MB / 0.963 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02582/1.537, allocations: 10.12 MB / 0.9728 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.006e-05/1.537, allocations: 84 kB / 0.9729 GB, free: 9.051 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.537, allocations: 4 kB / 0.9729 GB, free: 9.047 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001601/1.538, allocations: 39.84 kB / 0.973 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2558/1.793, allocations: 15.29 MB / 0.9879 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/1.794, allocations: 4.062 kB / 0.9879 GB, free: 288 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008773/1.802, allocations: 1.531 MB / 0.9894 GB, free: 287.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009364/1.812, allocations: 1.595 MB / 0.991 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001705/1.813, allocations: 266.2 kB / 0.9912 GB, free: 287.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/1.828, allocations: 11.46 MB / 1.002 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.828, allocations: 10.94 kB / 1.002 GB, free: 279 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02887/1.857, allocations: 12.98 MB / 1.015 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003935/1.861, allocations: 1.272 MB / 1.016 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001476/1.862, allocations: 145.6 kB / 1.016 GB, free: 273.2 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003929/1.866, allocations: 150.8 kB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001337/1.868, allocations: 0.6073 MB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006829/1.868, allocations: 316.2 kB / 1.017 GB, free: 273 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002755/1.871, allocations: 2.04 MB / 1.019 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/1.871, allocations: 0 / 1.019 GB, free: 272.3 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01447/1.886, allocations: 5.105 MB / 1.024 GB, free: 271.8 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.03585/1.921, allocations: 19.15 MB / 1.043 GB, free: 262.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01424/1.936, allocations: 8.418 MB / 1.051 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.936, allocations: 3.938 kB / 1.051 GB, free: 254.5 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007004/1.943, allocations: 4.49 MB / 1.056 GB, free: 250.4 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/1.949, allocations: 1.196 MB / 1.057 GB, free: 249.5 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09053/2.039, allocations: 60.12 MB / 1.116 GB, free: 187.6 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002007/2.041, allocations: 2.716 MB / 1.118 GB, free: 184.9 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.005927/2.047, allocations: 1.679 MB / 1.12 GB, free: 183.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004227/2.051, allocations: 3.728 MB / 1.124 GB, free: 180 MB / 0.7012 GB Notification: Performance of SimCode: time 9.11e-07/2.051, allocations: 3.188 kB / 1.124 GB, free: 180 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5357/2.587, allocations: 224.2 MB / 1.343 GB, free: 268.2 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.36/28.95, allocations: 8.094 kB / 1.343 GB, free: 268.2 MB / 0.7012 GB " [Timeout remaining time 631] (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: 31.708645331003936] Failed to read output from testmodel.py, exit status != 0: 29.197443353012204 29.217427263 28.19949694 Calling exit ...