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.001327/0.001327, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001386/0.001386, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1353/0.1353, allocations: 23.9 MB / 333.4 MB, free: 1.176 MB / 254.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: 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: 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.002025/0.002025, allocations: 61.03 kB / 467.3 MB, free: 30.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09695, allocations: 59.84 MB / 0.5147 GB, free: 12.37 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.06283/0.1598, allocations: 51.16 MB / 0.5647 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3447/0.5044, allocations: 121.3 MB / 0.6831 GB, free: 3.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004616/0.5091, allocations: 95.25 kB / 0.6832 GB, free: 3.746 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006573/0.5156, allocations: 2.404 MB / 0.6856 GB, free: 1.344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0306/0.5462, allocations: 10.19 MB / 0.6955 GB, free: 7.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04474/0.591, allocations: 15.61 MB / 0.7108 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.01555/0.6065, allocations: 10.54 MB / 0.7211 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00674/0.6133, allocations: 4.7 MB / 0.7256 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007733/0.621, allocations: 5.425 MB / 0.7309 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009668/0.6307, allocations: 5.975 MB / 0.7368 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001895/0.6325, allocations: 0.8828 MB / 0.7376 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04562/0.6782, allocations: 13.91 MB / 0.7512 GB, free: 14.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003784/0.682, allocations: 2.134 MB / 0.7533 GB, free: 11.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00772/0.6897, allocations: 4.547 MB / 0.7577 GB, free: 7.375 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05993/0.7496, allocations: 24.95 MB / 0.7821 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.214e-05/0.7496, allocations: 10.61 kB / 0.7821 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.024e-06/0.7496, allocations: 0 / 0.7821 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0002863/0.7499, allocations: 0 / 0.7821 GB, free: 14.32 MB / 0.5762 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.02456/0.7745, allocations: 10.72 MB / 0.7926 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.7745, allocations: 16.02 kB / 0.7926 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/0.7851, allocations: 1.945 MB / 0.7945 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007207/0.7924, allocations: 3.623 MB / 0.798 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005247/0.7929, allocations: 0.5513 MB / 0.7986 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001639/0.7945, allocations: 0.7383 MB / 0.7993 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.8124, allocations: 9.202 MB / 0.8083 GB, free: 3.195 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/0.8125, allocations: 11.88 kB / 0.8083 GB, free: 3.184 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008735/0.8134, allocations: 284 kB / 0.8086 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.8135, allocations: 172 kB / 0.8087 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02412/0.8377, allocations: 12.71 MB / 0.8211 GB, free: 6.012 MB / 0.6075 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.4746/1.312, allocations: 30.3 MB / 0.8507 GB, free: 191.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03042/1.343, allocations: 19.84 MB / 0.8701 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006303/1.349, allocations: 4.088 MB / 0.8741 GB, free: 181 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04611/1.395, allocations: 36.64 MB / 0.9099 GB, free: 149.6 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/1.395, allocations: 95.34 kB / 0.91 GB, free: 149.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002366/1.398, allocations: 0.6561 MB / 0.9106 GB, free: 149.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 1.396e-05/1.398, allocations: 2.719 kB / 0.9106 GB, free: 149.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.104/1.502, allocations: 35.6 MB / 0.9454 GB, free: 114 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.502, allocations: 125.3 kB / 0.9455 GB, free: 113.9 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003574/1.505, allocations: 3.383 MB / 0.9488 GB, free: 110.6 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005691/1.506, allocations: 149.7 kB / 0.9489 GB, free: 110.4 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001252/1.507, allocations: 3.249 MB / 0.9521 GB, free: 107.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001643/1.509, allocations: 2.713 MB / 0.9548 GB, free: 105.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/1.511, allocations: 1.702 MB / 0.9564 GB, free: 103.5 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.592e-05/1.511, allocations: 305.1 kB / 0.9567 GB, free: 103.2 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004288/1.515, allocations: 2.857 MB / 0.9595 GB, free: 100.3 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005518/1.52, allocations: 5.738 MB / 0.9651 GB, free: 93.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01162/1.532, allocations: 9.488 MB / 0.9744 GB, free: 82.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/1.532, allocations: 28 kB / 0.9744 GB, free: 82.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.0206/1.553, allocations: 10.7 MB / 0.9849 GB, free: 71.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/1.553, allocations: 44 kB / 0.9849 GB, free: 71.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/1.553, allocations: 96.16 kB / 0.985 GB, free: 71.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008693/1.562, allocations: 1.811 MB / 0.9868 GB, free: 69.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00936/1.571, allocations: 2.32 MB / 0.989 GB, free: 67.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/1.587, allocations: 12.83 MB / 1.002 GB, free: 53.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006324/1.593, allocations: 299.9 kB / 1.002 GB, free: 53.6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009911/1.594, allocations: 0.5116 MB / 1.002 GB, free: 53.09 MB / 0.6075 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.00258/1.597, allocations: 1.202 MB / 1.004 GB, free: 51.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001345/1.598, allocations: 0.6016 MB / 1.004 GB, free: 51.33 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.619, allocations: 10.1 MB / 1.014 GB, free: 41.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-05/1.619, allocations: 76 kB / 1.014 GB, free: 41.23 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/1.619, allocations: 6.688 kB / 1.014 GB, free: 41.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.643e-05/1.619, allocations: 50.5 kB / 1.014 GB, free: 41.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02752/1.647, allocations: 16.31 MB / 1.03 GB, free: 24.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/1.647, allocations: 7.938 kB / 1.03 GB, free: 24.88 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00695/1.654, allocations: 1.526 MB / 1.032 GB, free: 23.36 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007859/1.661, allocations: 1.598 MB / 1.033 GB, free: 21.74 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007222/1.662, allocations: 263.8 kB / 1.033 GB, free: 21.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.676, allocations: 12.08 MB / 1.045 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.676, allocations: 7.938 kB / 1.045 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2673/1.943, allocations: 12.94 MB / 1.058 GB, free: 186.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003276/1.946, allocations: 1.34 MB / 1.059 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001069/1.947, allocations: 148.7 kB / 1.059 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003493/1.951, allocations: 152.4 kB / 1.059 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001165/1.952, allocations: 0.5786 MB / 1.06 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007271/1.953, allocations: 312.6 kB / 1.06 GB, free: 186.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003103/1.956, allocations: 2.041 MB / 1.062 GB, free: 186.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.6e-07/1.956, allocations: 3.469 kB / 1.062 GB, free: 186.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01433/1.97, allocations: 5.107 MB / 1.067 GB, free: 186 MB / 0.6075 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.01048/1.981, allocations: 5.709 MB / 1.073 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01421/1.995, allocations: 8.405 MB / 1.081 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.995, allocations: 3.969 kB / 1.081 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007476/2.002, allocations: 4.476 MB / 1.085 GB, free: 179.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005642/2.008, allocations: 1.188 MB / 1.087 GB, free: 179.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/2.026, allocations: 13.02 MB / 1.099 GB, free: 173.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002187/2.028, allocations: 3.173 MB / 1.102 GB, free: 172.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00384/2.032, allocations: 1.455 MB / 1.104 GB, free: 172.1 MB / 0.6075 GB Notification: Performance of SimCode: time 1.132e-06/2.032, allocations: 0 / 1.104 GB, free: 172.1 MB / 0.6075 GB Notification: Performance of Templates: time 0.4601/2.492, allocations: 287.5 MB / 1.385 GB, free: 130.3 MB / 0.6232 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 20.047638608986745] Failed to read output from testmodel.py, exit status != 0: 2.500459971022792 2.509999228 1.758067817 Calling exit ...