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.001479/0.001479, allocations: 79.75 kB / 19.18 MB, free: 2.516 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.001554/0.001554, allocations: 162.8 kB / 22.46 MB, free: 5.375 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.425/1.425, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.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.1299/0.1299, allocations: 17.37 MB / 276.5 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 412 MB, free: 4.414 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.771e-05, allocations: 2.281 kB / 412 MB, free: 4.41 MB / 334.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.4197/0.4197, allocations: 47.23 MB / 459.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1294/0.5491, allocations: 106.1 MB / 0.5521 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005952/0.5551, allocations: 95.25 kB / 0.5522 GB, free: 10.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008075/0.5632, allocations: 2.178 MB / 0.5543 GB, free: 8.742 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03749/0.6006, allocations: 10.53 MB / 0.5646 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04861/0.6493, allocations: 16.23 MB / 0.5804 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01936/0.6686, allocations: 10.88 MB / 0.5911 GB, free: 2.863 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009314/0.6779, allocations: 4.648 MB / 0.5956 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01599/0.6939, allocations: 7.399 MB / 0.6028 GB, free: 6.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01074/0.7047, allocations: 4.857 MB / 0.6076 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003498/0.7082, allocations: 0.8867 MB / 0.6084 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04233/0.7505, allocations: 13.14 MB / 0.6213 GB, free: 3.805 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.00446/0.755, allocations: 2.157 MB / 0.6234 GB, free: 1.641 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2338/0.9888, allocations: 3.369 MB / 0.6267 GB, free: 32.28 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.057/1.046, allocations: 26.61 MB / 0.6526 GB, free: 31.22 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.046, allocations: 2.844 kB / 0.6526 GB, free: 31.22 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.493e-06/1.046, allocations: 3.531 kB / 0.6526 GB, free: 31.22 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0004215/1.046, allocations: 0 / 0.6526 GB, free: 31.22 MB / 0.4982 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.02999/1.076, allocations: 10.54 MB / 0.6629 GB, free: 26.82 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/1.076, allocations: 6.406 kB / 0.6629 GB, free: 26.82 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01188/1.088, allocations: 1.953 MB / 0.6649 GB, free: 26.35 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009309/1.097, allocations: 3.52 MB / 0.6683 GB, free: 25.55 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/1.098, allocations: 0.579 MB / 0.6689 GB, free: 25.47 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003365/1.101, allocations: 0.7369 MB / 0.6696 GB, free: 25.45 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02308/1.124, allocations: 9.226 MB / 0.6786 GB, free: 24.91 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002074/1.125, allocations: 3.75 kB / 0.6786 GB, free: 24.91 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/1.127, allocations: 291.5 kB / 0.6789 GB, free: 24.91 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/1.127, allocations: 176 kB / 0.679 GB, free: 24.91 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.153, allocations: 12.58 MB / 0.6913 GB, free: 24.1 MB / 0.4982 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.06711/1.22, allocations: 24.06 MB / 0.7148 GB, free: 10.04 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03662/1.256, allocations: 17.11 MB / 0.7315 GB, free: 9.027 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009982/1.266, allocations: 4.099 MB / 0.7355 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05892/1.325, allocations: 19.52 MB / 0.7546 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.303e-05/1.325, allocations: 91.12 kB / 0.7547 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003357/1.329, allocations: 0.6338 MB / 0.7553 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=581): time 1.73e-05/1.329, allocations: 0 / 0.7553 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=757): time 0.13/1.459, allocations: 35.25 MB / 0.7897 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/1.459, allocations: 125.3 kB / 0.7898 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/1.464, allocations: 3.282 MB / 0.793 GB, free: 10.68 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001309/1.465, allocations: 145.7 kB / 0.7932 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002506/1.468, allocations: 3.229 MB / 0.7963 GB, free: 7.309 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003574/1.472, allocations: 2.685 MB / 0.799 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002796/1.474, allocations: 1.687 MB / 0.8006 GB, free: 2.961 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.474, allocations: 301.1 kB / 0.8009 GB, free: 2.664 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005685/1.48, allocations: 2.869 MB / 0.8037 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008343/1.489, allocations: 5.739 MB / 0.8093 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/1.506, allocations: 9.513 MB / 0.8186 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.135e-05/1.506, allocations: 24 kB / 0.8186 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02722/1.533, allocations: 10.7 MB / 0.8291 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.101e-05/1.533, allocations: 47.98 kB / 0.8291 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/1.533, allocations: 92 kB / 0.8292 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009951/1.543, allocations: 1.814 MB / 0.831 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/1.554, allocations: 2.316 MB / 0.8332 GB, free: 264 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02073/1.575, allocations: 12.08 MB / 0.845 GB, free: 3.77 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009271/1.584, allocations: 292 kB / 0.8453 GB, free: 3.484 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/1.586, allocations: 0.5194 MB / 0.8458 GB, free: 2.965 MB / 0.6232 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.004128/1.59, allocations: 1.208 MB / 0.847 GB, free: 1.891 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/1.592, allocations: 0.5782 MB / 0.8476 GB, free: 1.309 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3014/1.894, allocations: 10.09 MB / 0.8574 GB, free: 265 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001691/1.894, allocations: 79.28 kB / 0.8575 GB, free: 265 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-05/1.894, allocations: 4.75 kB / 0.8575 GB, free: 265 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002883/1.894, allocations: 39.47 kB / 0.8575 GB, free: 265 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04098/1.935, allocations: 14.6 MB / 0.8718 GB, free: 258.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.323e-05/1.935, allocations: 6.125 kB / 0.8718 GB, free: 258.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00836/1.944, allocations: 1.524 MB / 0.8733 GB, free: 258.8 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008768/1.952, allocations: 1.614 MB / 0.8749 GB, free: 258.5 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001837/1.954, allocations: 270.8 kB / 0.8751 GB, free: 258.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/1.969, allocations: 11.34 MB / 0.8862 GB, free: 249.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.969, allocations: 6.781 kB / 0.8862 GB, free: 249.2 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.028/1.997, allocations: 12.94 MB / 0.8988 GB, free: 243.6 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004191/2.001, allocations: 1.241 MB / 0.9 GB, free: 242.9 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001505/2.003, allocations: 148 kB / 0.9002 GB, free: 242.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003992/2.007, allocations: 155.3 kB / 0.9003 GB, free: 242.6 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.008, allocations: 0.6035 MB / 0.9009 GB, free: 242.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006355/2.009, allocations: 314.2 kB / 0.9012 GB, free: 242 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.00259/2.011, allocations: 1.862 MB / 0.903 GB, free: 240.5 MB / 0.6232 GB Notification: Performance of sort global known variables: time 8e-08/2.011, allocations: 0 / 0.903 GB, free: 240.5 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01644/2.028, allocations: 5.103 MB / 0.908 GB, free: 236.3 MB / 0.6232 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.01454/2.042, allocations: 5.944 MB / 0.9138 GB, free: 232.4 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01531/2.058, allocations: 8.413 MB / 0.922 GB, free: 224.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/2.058, allocations: 4 kB / 0.922 GB, free: 224.7 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.007612/2.065, allocations: 4.48 MB / 0.9264 GB, free: 220.2 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006794/2.072, allocations: 1.173 MB / 0.9276 GB, free: 219.1 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01864/2.091, allocations: 12.62 MB / 0.9399 GB, free: 206.5 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/2.093, allocations: 2.703 MB / 0.9425 GB, free: 203.8 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006321/2.099, allocations: 1.662 MB / 0.9441 GB, free: 202.7 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/2.102, allocations: 1.136 MB / 0.9453 GB, free: 201.5 MB / 0.6232 GB Notification: Performance of SimCode: time 1.263e-06/2.102, allocations: 7.047 kB / 0.9453 GB, free: 201.5 MB / 0.6232 GB Notification: Performance of Templates: time 0.1959/2.297, allocations: 163.8 MB / 1.105 GB, free: 39 MB / 0.6232 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.14602255448699] Failed to read output from testmodel.py, exit status != 0: 2.3100527599453926 2.317002199 1.268606774 Calling exit ...