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.00144/0.00144, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001378/0.001378, allocations: 169 kB / 24.05 MB, free: 460 kB / 18.57 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 0.9524/0.9524, allocations: 177.1 MB / 204.5 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] 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.09733/0.09733, allocations: 17.46 MB / 278.5 MB, free: 11.4 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 354.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.054e-05/2.186e-05, allocations: 2.312 kB / 354.8 MB, free: 10.41 MB / 330.7 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.04479/0.04481, allocations: 53.15 MB / 408 MB, free: 5.27 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2348/0.2796, allocations: 118.7 MB / 0.5143 GB, free: 37.11 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004377/0.2839, allocations: 102.2 kB / 0.5144 GB, free: 37.06 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005412/0.2894, allocations: 2.186 MB / 0.5165 GB, free: 35.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02295/0.3123, allocations: 10.55 MB / 0.5268 GB, free: 29.61 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03094/0.3432, allocations: 16.25 MB / 0.5427 GB, free: 18.88 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.01106/0.3543, allocations: 10.89 MB / 0.5533 GB, free: 11.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005578/0.3599, allocations: 4.812 MB / 0.558 GB, free: 6.371 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01108/0.371, allocations: 7.394 MB / 0.5653 GB, free: 14.97 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009154/0.3801, allocations: 4.898 MB / 0.57 GB, free: 10.06 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003184/0.3833, allocations: 0.8828 MB / 0.5709 GB, free: 9.18 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03696/0.4203, allocations: 13.16 MB / 0.5838 GB, free: 12 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00316/0.4234, allocations: 2.161 MB / 0.5859 GB, free: 9.828 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00651/0.4299, allocations: 3.364 MB / 0.5892 GB, free: 6.457 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2203/0.6502, allocations: 23.32 MB / 0.6119 GB, free: 28.27 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.6502, allocations: 0 / 0.6119 GB, free: 28.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6502, allocations: 0 / 0.6119 GB, free: 28.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007168/0.6509, allocations: 1.031 kB / 0.6119 GB, free: 28.27 MB / 442.7 MB 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.02457/0.6755, allocations: 10.84 MB / 0.6225 GB, free: 23.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6756, allocations: 9.312 kB / 0.6225 GB, free: 23.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/0.6856, allocations: 3.21 MB / 0.6257 GB, free: 22.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006843/0.6925, allocations: 3.55 MB / 0.6291 GB, free: 21.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004829/0.6929, allocations: 0.5801 MB / 0.6297 GB, free: 21.78 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002453/0.6954, allocations: 0.7347 MB / 0.6304 GB, free: 21.76 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.7095, allocations: 6.619 MB / 0.6369 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002232/0.7098, allocations: 5.656 kB / 0.6369 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001022/0.7108, allocations: 287.2 kB / 0.6371 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.711, allocations: 177.9 kB / 0.6373 GB, free: 21.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01918/0.7301, allocations: 7.196 MB / 0.6443 GB, free: 20.9 MB / 442.7 MB 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.06926/0.7994, allocations: 23.1 MB / 0.6669 GB, free: 14.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02264/0.822, allocations: 20.02 MB / 0.6865 GB, free: 15.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.8252, allocations: 2.258 MB / 0.6887 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/0.8623, allocations: 18.54 MB / 0.7068 GB, free: 11.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.943e-05/0.8624, allocations: 93.95 kB / 0.7069 GB, free: 11 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001849/0.8643, allocations: 0.6201 MB / 0.7075 GB, free: 10.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=581): time 1.337e-05/0.8643, allocations: 0 / 0.7075 GB, free: 10.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=757): time 0.04385/0.9081, allocations: 23.35 MB / 0.7303 GB, free: 3.109 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.097e-05/0.9082, allocations: 133.3 kB / 0.7304 GB, free: 2.965 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00235/0.9105, allocations: 3.237 MB / 0.7336 GB, free: 312 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003071/0.9108, allocations: 149.7 kB / 0.7337 GB, free: 156 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.9126, allocations: 3.374 MB / 0.737 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001417/0.914, allocations: 2.701 MB / 0.7396 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/0.9156, allocations: 1.744 MB / 0.7413 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.9157, allocations: 484.7 kB / 0.7418 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/0.9173, allocations: 1.326 MB / 0.7431 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00377/0.9211, allocations: 5.401 MB / 0.7484 GB, free: 144 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.9282, allocations: 7.945 MB / 0.7561 GB, free: 7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.534e-05/0.9283, allocations: 28 kB / 0.7562 GB, free: 6.973 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01101/0.9393, allocations: 7.91 MB / 0.7639 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.9393, allocations: 44 kB / 0.7639 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.825e-05/0.9394, allocations: 92 kB / 0.764 GB, free: 15.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/0.9448, allocations: 1.852 MB / 0.7658 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/0.9498, allocations: 2.253 MB / 0.768 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1916/1.141, allocations: 13.02 MB / 0.7807 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004697/1.146, allocations: 289.5 kB / 0.781 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007049/1.147, allocations: 454.2 kB / 0.7814 GB, free: 127.9 MB / 0.5261 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.001796/1.149, allocations: 0.7465 MB / 0.7822 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.15, allocations: 0.8112 MB / 0.783 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/1.162, allocations: 7.319 MB / 0.7901 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.85e-05/1.162, allocations: 77.97 kB / 0.7902 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.896e-05/1.162, allocations: 6.219 kB / 0.7902 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.746e-05/1.162, allocations: 38.72 kB / 0.7902 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/1.178, allocations: 10.69 MB / 0.8007 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/1.178, allocations: 3.156 kB / 0.8007 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003645/1.182, allocations: 1.462 MB / 0.8021 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004895/1.187, allocations: 1.648 MB / 0.8037 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.187, allocations: 263.3 kB / 0.804 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007759/1.195, allocations: 12.5 MB / 0.8162 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/1.195, allocations: 3.281 kB / 0.8162 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/1.207, allocations: 8.254 MB / 0.8242 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002126/1.209, allocations: 1.233 MB / 0.8254 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/1.209, allocations: 150.2 kB / 0.8256 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.211, allocations: 151.9 kB / 0.8257 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00098/1.212, allocations: 0.6107 MB / 0.8263 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004724/1.212, allocations: 263.9 kB / 0.8266 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001406/1.214, allocations: 1.515 MB / 0.828 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.214, allocations: 0 / 0.828 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01164/1.225, allocations: 5.101 MB / 0.833 GB, free: 114.3 MB / 0.5261 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.009636/1.235, allocations: 6.252 MB / 0.8391 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007059/1.242, allocations: 6.293 MB / 0.8453 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.242, allocations: 4 kB / 0.8453 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003095/1.245, allocations: 3.619 MB / 0.8488 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.249, allocations: 1.307 MB / 0.8501 GB, free: 106.1 MB / 0.5261 GB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.261, allocations: 11.33 MB / 0.8611 GB, free: 96.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007104/1.262, allocations: 1.08 MB / 0.8622 GB, free: 95.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003639/1.265, allocations: 1.641 MB / 0.8638 GB, free: 94.11 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003109/1.268, allocations: 2.154 MB / 0.8659 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/1.268, allocations: 0 / 0.8659 GB, free: 92.46 MB / 0.5261 GB Notification: Performance of Templates: time 0.3346/1.603, allocations: 193.6 MB / 1.055 GB, free: 106.5 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (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 & ./Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.654996688012034]