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.001611/0.001611, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001775/0.001775, allocations: 221.1 kB / 23 MB, free: 4.918 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.1382/0.1382, allocations: 23.99 MB / 337.2 MB, free: 10.88 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: 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.002114/0.002114, allocations: 63.91 kB / 472.6 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3052, allocations: 59.89 MB / 0.52 GB, free: 9.68 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.09293/0.3981, allocations: 47.08 MB / 0.566 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1424/0.5405, allocations: 106.1 MB / 0.6696 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005761/0.5463, allocations: 95.25 kB / 0.6697 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007287/0.5536, allocations: 2.16 MB / 0.6718 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.02974/0.5833, allocations: 10.17 MB / 0.6817 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04231/0.6256, allocations: 15.78 MB / 0.6971 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01691/0.6425, allocations: 10.54 MB / 0.7074 GB, free: 9.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007362/0.6499, allocations: 4.601 MB / 0.7119 GB, free: 4.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008902/0.6588, allocations: 5.437 MB / 0.7172 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.6691, allocations: 5.364 MB / 0.7225 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003039/0.6722, allocations: 0.8867 MB / 0.7233 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.302/0.9742, allocations: 13.03 MB / 0.736 GB, free: 37.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003318/0.9775, allocations: 2.132 MB / 0.7381 GB, free: 37.28 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01016/0.9877, allocations: 3.881 MB / 0.7419 GB, free: 37.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05697/1.045, allocations: 24.86 MB / 0.7662 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/1.045, allocations: 3.062 kB / 0.7662 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.464e-06/1.045, allocations: 0 / 0.7662 GB, free: 35.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004339/1.045, allocations: 0 / 0.7662 GB, free: 35.73 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.02685/1.072, allocations: 10.62 MB / 0.7766 GB, free: 31.28 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/1.072, allocations: 9.906 kB / 0.7766 GB, free: 31.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/1.083, allocations: 1.944 MB / 0.7785 GB, free: 30.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008937/1.092, allocations: 3.525 MB / 0.7819 GB, free: 30 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/1.092, allocations: 0.5809 MB / 0.7825 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003084/1.095, allocations: 0.7373 MB / 0.7832 GB, free: 29.9 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/1.118, allocations: 9.219 MB / 0.7922 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002748/1.119, allocations: 3.312 kB / 0.7922 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002134/1.121, allocations: 290.7 kB / 0.7925 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/1.121, allocations: 174.9 kB / 0.7927 GB, free: 29.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02364/1.144, allocations: 12.58 MB / 0.8049 GB, free: 28.73 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.0525/1.197, allocations: 24.08 MB / 0.8285 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03016/1.227, allocations: 17.1 MB / 0.8452 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009658/1.237, allocations: 4.098 MB / 0.8492 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05798/1.295, allocations: 19.52 MB / 0.8682 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.551e-05/1.295, allocations: 97.03 kB / 0.8683 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002733/1.298, allocations: 0.6279 MB / 0.8689 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.156e-05/1.298, allocations: 0 / 0.8689 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1491/1.447, allocations: 35.25 MB / 0.9033 GB, free: 2.938 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001861/1.447, allocations: 129.3 kB / 0.9035 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006886/1.454, allocations: 3.282 MB / 0.9067 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001644/1.455, allocations: 145.7 kB / 0.9068 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003446/1.459, allocations: 3.253 MB / 0.91 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.004101/1.463, allocations: 2.706 MB / 0.9126 GB, free: 9.418 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003169/1.466, allocations: 1.706 MB / 0.9143 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.466, allocations: 311.8 kB / 0.9146 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005739/1.472, allocations: 2.861 MB / 0.9174 GB, free: 4.527 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.481, allocations: 5.746 MB / 0.923 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01802/1.499, allocations: 9.508 MB / 0.9323 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-05/1.499, allocations: 30.66 kB / 0.9323 GB, free: 3.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02957/1.529, allocations: 10.69 MB / 0.9428 GB, free: 9.102 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.639e-05/1.529, allocations: 46.66 kB / 0.9428 GB, free: 9.059 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.529, allocations: 88 kB / 0.9429 GB, free: 8.973 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009279/1.538, allocations: 1.808 MB / 0.9447 GB, free: 7.176 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01072/1.549, allocations: 2.321 MB / 0.9469 GB, free: 5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/1.568, allocations: 12.1 MB / 0.9587 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006993/1.575, allocations: 292 kB / 0.959 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/1.577, allocations: 0.5155 MB / 0.9595 GB, free: 7.668 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.004229/1.581, allocations: 1.203 MB / 0.9607 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/1.583, allocations: 0.5783 MB / 0.9613 GB, free: 6.02 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02703/1.61, allocations: 10.1 MB / 0.9711 GB, free: 12 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.745e-05/1.611, allocations: 83.98 kB / 0.9712 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-05/1.611, allocations: 6.625 kB / 0.9712 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001941/1.611, allocations: 35.86 kB / 0.9712 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3207/1.931, allocations: 14.6 MB / 0.9855 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.805e-05/1.932, allocations: 4 kB / 0.9855 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008772/1.94, allocations: 1.527 MB / 0.987 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008571/1.949, allocations: 1.601 MB / 0.9886 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001664/1.951, allocations: 268.5 kB / 0.9888 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/1.965, allocations: 11.34 MB / 0.9999 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/1.965, allocations: 6.719 kB / 0.9999 GB, free: 279.5 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02859/1.994, allocations: 12.95 MB / 1.013 GB, free: 274.2 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004406/1.998, allocations: 1.243 MB / 1.014 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/2, allocations: 152.2 kB / 1.014 GB, free: 273.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004086/2.004, allocations: 151 kB / 1.014 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/2.006, allocations: 0.6034 MB / 1.015 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007663/2.007, allocations: 316 kB / 1.015 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0028/2.009, allocations: 1.864 MB / 1.017 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/2.009, allocations: 0 / 1.017 GB, free: 272.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01506/2.024, allocations: 5.1 MB / 1.022 GB, free: 272.3 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.01313/2.038, allocations: 5.712 MB / 1.027 GB, free: 271.2 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01556/2.053, allocations: 8.416 MB / 1.036 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.854e-06/2.053, allocations: 2.531 kB / 1.036 GB, free: 267.8 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.007618/2.061, allocations: 4.481 MB / 1.04 GB, free: 265.8 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005719/2.066, allocations: 1.169 MB / 1.041 GB, free: 265 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01798/2.084, allocations: 13.02 MB / 1.054 GB, free: 252.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/2.086, allocations: 2.707 MB / 1.056 GB, free: 251 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003733/2.09, allocations: 1.443 MB / 1.058 GB, free: 249.8 MB / 0.7012 GB Notification: Performance of SimCode: time 1.242e-06/2.09, allocations: 0 / 1.058 GB, free: 249.8 MB / 0.7012 GB Notification: Performance of Templates: time 0.4973/2.588, allocations: 289.9 MB / 1.341 GB, free: 269.5 MB / 0.7012 GB " [Timeout remaining time 657] 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.351331690791994] Failed to read output from testmodel.py, exit status != 0: 2.5976296667940915 2.606992785 1.559910805 Calling exit ...