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.001821/0.001821, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002108/0.002108, allocations: 165.3 kB / 22.76 MB, free: 1.652 MB / 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 1.472/1.472, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.146/0.146, allocations: 17.38 MB / 276.9 MB, free: 11.65 MB / 266.7 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: translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 352.7 MB, free: 10.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.678e-05/2.829e-05, allocations: 4.562 kB / 352.7 MB, free: 10.29 MB / 282.7 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.06825/0.06828, allocations: 47.4 MB / 400.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.2552/0.3235, allocations: 106.1 MB / 0.4944 GB, free: 14.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006212/0.3297, allocations: 101.9 kB / 0.4945 GB, free: 14.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007568/0.3373, allocations: 2.185 MB / 0.4966 GB, free: 12.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03295/0.3702, allocations: 10.53 MB / 0.5069 GB, free: 1.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.04703/0.4172, allocations: 16.23 MB / 0.5227 GB, free: 1.383 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01802/0.4353, allocations: 10.89 MB / 0.5334 GB, free: 6.453 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008777/0.444, allocations: 4.846 MB / 0.5381 GB, free: 1.531 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01605/0.4601, allocations: 7.403 MB / 0.5453 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01238/0.4725, allocations: 4.849 MB / 0.5501 GB, free: 5.258 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003533/0.476, allocations: 0.8867 MB / 0.5509 GB, free: 4.371 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0455/0.5215, allocations: 13.15 MB / 0.5638 GB, free: 7.191 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004368/0.5259, allocations: 2.157 MB / 0.5659 GB, free: 5.027 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009082/0.5349, allocations: 3.372 MB / 0.5692 GB, free: 1.648 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2429/0.7778, allocations: 26.62 MB / 0.5952 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.7778, allocations: 0 / 0.5952 GB, free: 30.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.7778, allocations: 4.062 kB / 0.5952 GB, free: 30.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005427/0.7784, allocations: 0 / 0.5952 GB, free: 30.41 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.03084/0.8092, allocations: 10.54 MB / 0.6055 GB, free: 25.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.8092, allocations: 9.562 kB / 0.6055 GB, free: 25.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.8247, allocations: 3.21 MB / 0.6086 GB, free: 24.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008863/0.8336, allocations: 3.581 MB / 0.6121 GB, free: 24.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005629/0.8341, allocations: 0.5801 MB / 0.6127 GB, free: 23.97 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003054/0.8372, allocations: 0.7392 MB / 0.6134 GB, free: 23.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02151/0.8587, allocations: 9.215 MB / 0.6224 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/0.8589, allocations: 7.781 kB / 0.6224 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002051/0.861, allocations: 285.5 kB / 0.6227 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.8611, allocations: 177.2 kB / 0.6228 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/0.8835, allocations: 12.58 MB / 0.6351 GB, free: 22.74 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.05258/0.9361, allocations: 24.25 MB / 0.6588 GB, free: 2.195 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04076/0.9768, allocations: 17.1 MB / 0.6755 GB, free: 1.086 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01049/0.9873, allocations: 4.095 MB / 0.6795 GB, free: 12.98 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0631/1.05, allocations: 20.2 MB / 0.6992 GB, free: 9.125 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/1.051, allocations: 87.12 kB / 0.6993 GB, free: 9.027 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003104/1.054, allocations: 0.6275 MB / 0.6999 GB, free: 8.402 MB / 490.7 MB Notification: Performance of pre-optimization done (n=581): time 1.463e-05/1.054, allocations: 0 / 0.6999 GB, free: 8.402 MB / 490.7 MB Notification: Performance of matching and sorting (n=757): time 0.1392/1.193, allocations: 35.45 MB / 0.7346 GB, free: 4.871 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/1.193, allocations: 133.3 kB / 0.7347 GB, free: 4.727 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006227/1.199, allocations: 3.282 MB / 0.7379 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00135/1.201, allocations: 145.7 kB / 0.738 GB, free: 1.273 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/1.204, allocations: 3.23 MB / 0.7412 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004021/1.208, allocations: 2.678 MB / 0.7438 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004748/1.213, allocations: 1.697 MB / 0.7455 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.213, allocations: 301.1 kB / 0.7457 GB, free: 9.398 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0075/1.22, allocations: 2.861 MB / 0.7485 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1704/1.391, allocations: 5.746 MB / 0.7541 GB, free: 221.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/1.407, allocations: 9.511 MB / 0.7634 GB, free: 218 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001238/1.407, allocations: 25.72 kB / 0.7635 GB, free: 218 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03136/1.438, allocations: 11.13 MB / 0.7743 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.438, allocations: 44.53 kB / 0.7744 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.439, allocations: 90.03 kB / 0.7745 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.451, allocations: 2.115 MB / 0.7765 GB, free: 213.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/1.461, allocations: 2.322 MB / 0.7788 GB, free: 213.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0163/1.478, allocations: 12.13 MB / 0.7906 GB, free: 203.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006602/1.484, allocations: 289.5 kB / 0.7909 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/1.486, allocations: 0.5222 MB / 0.7914 GB, free: 203.7 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.004145/1.49, allocations: 1.198 MB / 0.7926 GB, free: 202.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003094/1.493, allocations: 0.8132 MB / 0.7934 GB, free: 202.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02604/1.519, allocations: 10.09 MB / 0.8032 GB, free: 199 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.346e-05/1.519, allocations: 82.09 kB / 0.8033 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.35e-05/1.519, allocations: 7.938 kB / 0.8033 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000175/1.519, allocations: 42.61 kB / 0.8034 GB, free: 198.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03635/1.556, allocations: 14.59 MB / 0.8176 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-05/1.556, allocations: 7.938 kB / 0.8176 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007854/1.564, allocations: 1.531 MB / 0.8191 GB, free: 185.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.575, allocations: 1.896 MB / 0.821 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001688/1.576, allocations: 259.9 kB / 0.8212 GB, free: 183 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/1.591, allocations: 11.38 MB / 0.8323 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/1.591, allocations: 7.984 kB / 0.8323 GB, free: 171.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/1.619, allocations: 13.2 MB / 0.8452 GB, free: 158 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003334/1.623, allocations: 1.244 MB / 0.8464 GB, free: 156.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/1.624, allocations: 144 kB / 0.8466 GB, free: 156.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004067/1.628, allocations: 163.9 kB / 0.8467 GB, free: 156.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/1.63, allocations: 0.5988 MB / 0.8473 GB, free: 155.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008985/1.631, allocations: 311.9 kB / 0.8476 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002819/1.633, allocations: 1.867 MB / 0.8494 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/1.633, allocations: 0 / 0.8494 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01491/1.648, allocations: 5.097 MB / 0.8544 GB, free: 149.5 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.01461/1.663, allocations: 5.941 MB / 0.8602 GB, free: 145.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01758/1.68, allocations: 8.424 MB / 0.8684 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/1.681, allocations: 0 / 0.8684 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008019/1.689, allocations: 4.491 MB / 0.8728 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009575/1.698, allocations: 1.319 MB / 0.8741 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/1.718, allocations: 12.81 MB / 0.8866 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002075/1.72, allocations: 2.712 MB / 0.8893 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006751/1.727, allocations: 1.653 MB / 0.8909 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002658/1.73, allocations: 1.137 MB / 0.892 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.873e-06/1.73, allocations: 0 / 0.892 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of Templates: time 0.465/2.195, allocations: 164.7 MB / 1.053 GB, free: 189.2 MB / 0.5261 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (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 & ./Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.364358777063899]