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.0008707/0.0008707, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009174/0.0009174, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.9558/0.9558, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.09267/0.09267, allocations: 17.46 MB / 277.4 MB, free: 11.57 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.293e-06/1.293e-06, allocations: 0 / 353.6 MB, free: 9.816 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.659e-05, allocations: 4.562 kB / 353.6 MB, free: 9.812 MB / 282.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.04134/0.04137, allocations: 53.9 MB / 407.5 MB, free: 3.953 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.224/0.2653, allocations: 122.8 MB / 0.5178 GB, free: 8.984 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005947/0.2713, allocations: 99.25 kB / 0.5179 GB, free: 8.887 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006128/0.2774, allocations: 2.185 MB / 0.5201 GB, free: 6.695 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02631/0.3037, allocations: 10.54 MB / 0.5304 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.03624/0.3399, allocations: 16.25 MB / 0.5462 GB, free: 11.98 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01304/0.353, allocations: 10.88 MB / 0.5569 GB, free: 1.047 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1768/0.5298, allocations: 4.804 MB / 0.5616 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01326/0.5431, allocations: 7.395 MB / 0.5688 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008004/0.5511, allocations: 4.9 MB / 0.5736 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002298/0.5534, allocations: 0.8858 MB / 0.5744 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02811/0.5815, allocations: 13.15 MB / 0.5873 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003431/0.5849, allocations: 2.162 MB / 0.5894 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006209/0.5911, allocations: 3.374 MB / 0.5927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0504/0.6415, allocations: 23.32 MB / 0.6154 GB, free: 8.016 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.6415, allocations: 0.875 kB / 0.6155 GB, free: 8.016 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.6415, allocations: 3.594 kB / 0.6155 GB, free: 8.016 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004735/0.642, allocations: 0.9375 kB / 0.6155 GB, free: 8.016 MB / 426.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.01881/0.6608, allocations: 10.77 MB / 0.626 GB, free: 2.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6609, allocations: 8.031 kB / 0.626 GB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008464/0.6693, allocations: 3.216 MB / 0.6291 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007065/0.6764, allocations: 3.562 MB / 0.6326 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003825/0.6768, allocations: 0.5773 MB / 0.6332 GB, free: 12.57 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.6781, allocations: 0.7405 MB / 0.6339 GB, free: 11.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01186/0.69, allocations: 7.323 MB / 0.641 GB, free: 4.684 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-05/0.6901, allocations: 7.562 kB / 0.641 GB, free: 4.68 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000561/0.6906, allocations: 288.8 kB / 0.6413 GB, free: 4.398 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.6907, allocations: 172 kB / 0.6415 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02753/0.7182, allocations: 8.427 MB / 0.6497 GB, free: 11.81 MB / 458.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.06504/0.7833, allocations: 23.65 MB / 0.6728 GB, free: 4.566 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02448/0.8078, allocations: 20.49 MB / 0.6928 GB, free: 60 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005024/0.8128, allocations: 2.67 MB / 0.6954 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02898/0.8418, allocations: 18.55 MB / 0.7135 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.921e-05/0.8418, allocations: 93.7 kB / 0.7136 GB, free: 11.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001619/0.8435, allocations: 0.628 MB / 0.7142 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=581): time 1.646e-05/0.8435, allocations: 0 / 0.7142 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=757): time 0.2324/1.076, allocations: 26.39 MB / 0.74 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.302e-05/1.076, allocations: 132.6 kB / 0.7401 GB, free: 127 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00404/1.08, allocations: 3.271 MB / 0.7433 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001252/1.081, allocations: 151.4 kB / 0.7435 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001662/1.083, allocations: 3.334 MB / 0.7467 GB, free: 126 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002426/1.085, allocations: 2.675 MB / 0.7493 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002659/1.088, allocations: 1.71 MB / 0.751 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/1.088, allocations: 478.8 kB / 0.7515 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003188/1.091, allocations: 1.727 MB / 0.7532 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00531/1.097, allocations: 5.749 MB / 0.7588 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/1.107, allocations: 8.628 MB / 0.7672 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.101e-05/1.107, allocations: 25.12 kB / 0.7672 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.01852/1.126, allocations: 8.783 MB / 0.7758 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.071e-05/1.126, allocations: 42.81 kB / 0.7758 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.126, allocations: 92.38 kB / 0.7759 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007402/1.133, allocations: 1.876 MB / 0.7778 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007971/1.141, allocations: 2.327 MB / 0.78 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/1.151, allocations: 13.26 MB / 0.793 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005114/1.157, allocations: 291.2 kB / 0.7933 GB, free: 102.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.158, allocations: 0.5161 MB / 0.7938 GB, free: 102.5 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.002227/1.16, allocations: 0.7442 MB / 0.7945 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001638/1.161, allocations: 0.8109 MB / 0.7953 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/1.174, allocations: 8.026 MB / 0.8031 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.573e-05/1.174, allocations: 80.2 kB / 0.8032 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-05/1.174, allocations: 7 kB / 0.8032 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.754e-05/1.174, allocations: 44.81 kB / 0.8032 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/1.195, allocations: 12.02 MB / 0.815 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.195, allocations: 3.688 kB / 0.815 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003839/1.199, allocations: 1.544 MB / 0.8165 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005123/1.204, allocations: 1.659 MB / 0.8181 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006562/1.205, allocations: 268.2 kB / 0.8184 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008031/1.213, allocations: 12.71 MB / 0.8308 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.213, allocations: 6.078 kB / 0.8308 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.014/1.227, allocations: 9.318 MB / 0.8399 GB, free: 81.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/1.229, allocations: 1.238 MB / 0.8411 GB, free: 80.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001021/1.23, allocations: 148 kB / 0.8412 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.232, allocations: 151.8 kB / 0.8414 GB, free: 80.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/1.233, allocations: 0.6155 MB / 0.842 GB, free: 79.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004972/1.234, allocations: 311.9 kB / 0.8423 GB, free: 79.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001801/1.236, allocations: 1.637 MB / 0.8439 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/1.236, allocations: 0 / 0.8439 GB, free: 77.66 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01334/1.249, allocations: 5.101 MB / 0.8489 GB, free: 73.19 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.01167/1.261, allocations: 5.942 MB / 0.8547 GB, free: 68.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01129/1.272, allocations: 7 MB / 0.8615 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.272, allocations: 0 / 0.8615 GB, free: 61.32 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00473/1.277, allocations: 3.947 MB / 0.8654 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/1.281, allocations: 1.317 MB / 0.8666 GB, free: 56.19 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.0151/1.296, allocations: 11.57 MB / 0.8779 GB, free: 44.51 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/1.297, allocations: 1.079 MB / 0.879 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004792/1.301, allocations: 1.647 MB / 0.8806 GB, free: 41.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001899/1.303, allocations: 1.145 MB / 0.8817 GB, free: 40.72 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/1.303, allocations: 0 / 0.8817 GB, free: 40.72 MB / 0.5261 GB Notification: Performance of Templates: time 0.3206/1.624, allocations: 165.7 MB / 1.043 GB, free: 39.13 MB / 0.5261 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.019652584102005]