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.00165/0.00165, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001565/0.001565, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 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.1378/0.1378, allocations: 23.89 MB / 337.1 MB, free: 10.96 MB / 270.1 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: 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.002218/0.002218, allocations: 67.91 kB / 472.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3077, allocations: 59.87 MB / 0.5198 GB, free: 9.738 MB / 382.1 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.09725/0.405, allocations: 47.07 MB / 0.5658 GB, free: 10.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1466/0.5516, allocations: 106.1 MB / 0.6694 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006062/0.5576, allocations: 99.19 kB / 0.6695 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007673/0.5653, allocations: 2.163 MB / 0.6716 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0311/0.5964, allocations: 10.17 MB / 0.6815 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.05499/0.6514, allocations: 15.78 MB / 0.6969 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0232/0.6746, allocations: 10.54 MB / 0.7072 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009246/0.6839, allocations: 4.612 MB / 0.7117 GB, free: 4.625 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009417/0.6933, allocations: 5.437 MB / 0.717 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.7041, allocations: 5.36 MB / 0.7223 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003808/0.7079, allocations: 0.8867 MB / 0.7231 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3028/1.011, allocations: 13.03 MB / 0.7358 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003458/1.014, allocations: 2.137 MB / 0.7379 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01004/1.024, allocations: 3.879 MB / 0.7417 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0549/1.079, allocations: 24.86 MB / 0.766 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/1.079, allocations: 0 / 0.766 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/1.079, allocations: 2.062 kB / 0.766 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000458/1.08, allocations: 0 / 0.766 GB, free: 35.66 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.02896/1.109, allocations: 10.62 MB / 0.7764 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.109, allocations: 12.44 kB / 0.7764 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01099/1.12, allocations: 1.949 MB / 0.7783 GB, free: 30.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008747/1.128, allocations: 3.518 MB / 0.7817 GB, free: 29.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005546/1.129, allocations: 0.5797 MB / 0.7823 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002795/1.132, allocations: 0.7369 MB / 0.783 GB, free: 29.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02081/1.152, allocations: 9.219 MB / 0.792 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/1.153, allocations: 8.641 kB / 0.792 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/1.154, allocations: 289.8 kB / 0.7923 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/1.155, allocations: 175.7 kB / 0.7925 GB, free: 29.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02346/1.178, allocations: 12.58 MB / 0.8047 GB, free: 28.72 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.05551/1.234, allocations: 24.07 MB / 0.8283 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03145/1.265, allocations: 17.1 MB / 0.845 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009169/1.274, allocations: 4.102 MB / 0.849 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05416/1.328, allocations: 19.52 MB / 0.868 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.073e-05/1.328, allocations: 93.81 kB / 0.8681 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002717/1.331, allocations: 0.6249 MB / 0.8687 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.397e-05/1.331, allocations: 0 / 0.8687 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.12/1.451, allocations: 35.25 MB / 0.9031 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/1.451, allocations: 129.3 kB / 0.9033 GB, free: 3.004 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/1.456, allocations: 3.285 MB / 0.9065 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/1.458, allocations: 153.6 kB / 0.9066 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.461, allocations: 3.241 MB / 0.9098 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003428/1.464, allocations: 2.711 MB / 0.9124 GB, free: 9.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/1.467, allocations: 1.702 MB / 0.9141 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.467, allocations: 301.1 kB / 0.9144 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005642/1.473, allocations: 2.869 MB / 0.9172 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008535/1.481, allocations: 5.753 MB / 0.9228 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/1.498, allocations: 9.502 MB / 0.9321 GB, free: 3.453 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.906e-05/1.498, allocations: 24 kB / 0.9321 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03008/1.528, allocations: 10.7 MB / 0.9426 GB, free: 9.312 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/1.528, allocations: 44 kB / 0.9426 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.528, allocations: 92 kB / 0.9427 GB, free: 9.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009523/1.538, allocations: 1.824 MB / 0.9445 GB, free: 7.371 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01104/1.549, allocations: 2.317 MB / 0.9467 GB, free: 5.199 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02056/1.569, allocations: 12.09 MB / 0.9585 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007243/1.577, allocations: 288 kB / 0.9588 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/1.579, allocations: 0.5194 MB / 0.9593 GB, free: 7.879 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.004728/1.584, allocations: 1.201 MB / 0.9605 GB, free: 6.812 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002487/1.586, allocations: 0.5783 MB / 0.9611 GB, free: 6.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02999/1.616, allocations: 10.09 MB / 0.9709 GB, free: 12.21 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001097/1.616, allocations: 80 kB / 0.971 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/1.616, allocations: 4 kB / 0.971 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000251/1.616, allocations: 39.84 kB / 0.971 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2799/1.896, allocations: 14.6 MB / 0.9853 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.885e-05/1.896, allocations: 3.703 kB / 0.9853 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008284/1.905, allocations: 1.531 MB / 0.9868 GB, free: 287.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008483/1.913, allocations: 1.596 MB / 0.9883 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001624/1.915, allocations: 267 kB / 0.9886 GB, free: 287.2 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/1.93, allocations: 11.35 MB / 0.9997 GB, free: 279.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.93, allocations: 4.031 kB / 0.9997 GB, free: 279.8 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0281/1.958, allocations: 12.95 MB / 1.012 GB, free: 274.5 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004011/1.962, allocations: 1.249 MB / 1.014 GB, free: 274.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001972/1.964, allocations: 146.8 kB / 1.014 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004513/1.968, allocations: 155.3 kB / 1.014 GB, free: 273.9 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/1.97, allocations: 0.6036 MB / 1.014 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009613/1.971, allocations: 311.5 kB / 1.015 GB, free: 273.8 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002667/1.974, allocations: 1.87 MB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of sort global known variables: time 7e-08/1.974, allocations: 2.625 kB / 1.017 GB, free: 273.1 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01351/1.987, allocations: 5.101 MB / 1.022 GB, free: 272.6 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.01151/1.999, allocations: 5.706 MB / 1.027 GB, free: 271.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01468/2.013, allocations: 8.409 MB / 1.035 GB, free: 268.1 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/2.013, allocations: 2.656 kB / 1.035 GB, free: 268.1 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008254/2.022, allocations: 4.485 MB / 1.04 GB, free: 266.1 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007091/2.029, allocations: 1.172 MB / 1.041 GB, free: 265.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/2.048, allocations: 13.03 MB / 1.054 GB, free: 253.1 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002129/2.05, allocations: 2.703 MB / 1.056 GB, free: 251.2 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00375/2.053, allocations: 1.447 MB / 1.058 GB, free: 250 MB / 0.7012 GB Notification: Performance of SimCode: time 1.413e-06/2.053, allocations: 0 / 1.058 GB, free: 250 MB / 0.7012 GB Notification: Performance of Templates: time 0.4925/2.546, allocations: 289.9 MB / 1.341 GB, free: 269.7 MB / 0.7012 GB " [Timeout remaining time 657] 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 os._exit(0), Time elapsed: 20.572986119892448] Failed to read output from testmodel.py, exit status != 0: 2.5565027347765863 2.566204677 1.484472641 Calling exit ...