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.001585/0.001585, allocations: 104.3 kB / 19.7 MB, free: 2.008 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.001441/0.001441, allocations: 210.6 kB / 22.99 MB, free: 4.41 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1421/0.1421, allocations: 23.88 MB / 337.1 MB, free: 10.98 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.002012/0.002012, allocations: 75.89 kB / 472.4 MB, free: 6.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3328, allocations: 59.85 MB / 0.5198 GB, free: 9.766 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.09422/0.4271, allocations: 47 MB / 0.5657 GB, free: 10.43 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.1435/0.5705, allocations: 106.1 MB / 0.6693 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006689/0.5772, allocations: 99.19 kB / 0.6694 GB, free: 268 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007983/0.5852, allocations: 2.156 MB / 0.6715 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.03173/0.6169, allocations: 10.17 MB / 0.6814 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04287/0.6598, allocations: 15.78 MB / 0.6968 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01735/0.6771, allocations: 10.53 MB / 0.7071 GB, free: 9.402 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007948/0.6851, allocations: 4.71 MB / 0.7117 GB, free: 4.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.6952, allocations: 5.437 MB / 0.717 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01091/0.7061, allocations: 5.978 MB / 0.7229 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.003817/0.7099, allocations: 0.8867 MB / 0.7237 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3264/1.036, allocations: 13.38 MB / 0.7368 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.003723/1.04, allocations: 2.134 MB / 0.7389 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.01051/1.05, allocations: 3.883 MB / 0.7427 GB, free: 37.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.05797/1.108, allocations: 24.86 MB / 0.767 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.108, allocations: 0 / 0.767 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/1.108, allocations: 0 / 0.767 GB, free: 35.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0004682/1.109, allocations: 0 / 0.767 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.0299/1.139, allocations: 10.62 MB / 0.7773 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.139, allocations: 9.375 kB / 0.7773 GB, free: 31.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/1.15, allocations: 1.948 MB / 0.7792 GB, free: 30.75 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009074/1.159, allocations: 3.52 MB / 0.7827 GB, free: 29.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006417/1.16, allocations: 0.5769 MB / 0.7832 GB, free: 29.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003415/1.163, allocations: 0.7377 MB / 0.784 GB, free: 29.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0244/1.188, allocations: 9.215 MB / 0.793 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/1.188, allocations: 9.25 kB / 0.793 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/1.19, allocations: 287.9 kB / 0.7932 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001258/1.19, allocations: 175.8 kB / 0.7934 GB, free: 29.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/1.215, allocations: 12.58 MB / 0.8057 GB, free: 29.01 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.05711/1.272, allocations: 24.08 MB / 0.8292 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.304, allocations: 17.1 MB / 0.8459 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009262/1.313, allocations: 4.099 MB / 0.8499 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06039/1.374, allocations: 19.52 MB / 0.869 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001014/1.374, allocations: 97.84 kB / 0.8691 GB, free: 5.926 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003466/1.377, allocations: 0.6173 MB / 0.8697 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 2.369e-05/1.377, allocations: 0 / 0.8697 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1262/1.504, allocations: 35.25 MB / 0.9041 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.504, allocations: 132 kB / 0.9042 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004966/1.509, allocations: 3.282 MB / 0.9074 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001467/1.51, allocations: 149.7 kB / 0.9076 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.002636/1.513, allocations: 3.243 MB / 0.9107 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003589/1.516, allocations: 2.706 MB / 0.9134 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003321/1.52, allocations: 1.706 MB / 0.9151 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001236/1.52, allocations: 301.1 kB / 0.9153 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005783/1.526, allocations: 2.875 MB / 0.9181 GB, free: 3.961 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00896/1.535, allocations: 5.747 MB / 0.9238 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01704/1.552, allocations: 9.507 MB / 0.933 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.663e-05/1.552, allocations: 24 kB / 0.9331 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02828/1.58, allocations: 10.7 MB / 0.9435 GB, free: 8.527 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/1.58, allocations: 46.34 kB / 0.9436 GB, free: 8.484 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001134/1.58, allocations: 92 kB / 0.9436 GB, free: 8.395 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/1.589, allocations: 1.818 MB / 0.9454 GB, free: 6.586 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01054/1.6, allocations: 2.318 MB / 0.9477 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/1.618, allocations: 12.08 MB / 0.9595 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006873/1.625, allocations: 292 kB / 0.9598 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.627, allocations: 0.5155 MB / 0.9603 GB, free: 7.094 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.004218/1.631, allocations: 1.202 MB / 0.9614 GB, free: 6.027 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001944/1.633, allocations: 0.5744 MB / 0.962 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02613/1.66, allocations: 10.1 MB / 0.9719 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-05/1.66, allocations: 80 kB / 0.9719 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-05/1.66, allocations: 4 kB / 0.972 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002402/1.66, allocations: 39.84 kB / 0.972 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3509/2.011, allocations: 14.6 MB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-05/2.011, allocations: 4.344 kB / 0.9862 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00867/2.02, allocations: 1.527 MB / 0.9877 GB, free: 287.1 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008479/2.028, allocations: 1.606 MB / 0.9893 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001861/2.03, allocations: 266.1 kB / 0.9896 GB, free: 287 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01447/2.044, allocations: 11.34 MB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/2.044, allocations: 4.125 kB / 1.001 GB, free: 279.3 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03185/2.076, allocations: 12.95 MB / 1.013 GB, free: 274 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004771/2.081, allocations: 1.245 MB / 1.015 GB, free: 273.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002125/2.083, allocations: 152.5 kB / 1.015 GB, free: 273.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004432/2.087, allocations: 150 kB / 1.015 GB, free: 273.4 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/2.089, allocations: 0.6106 MB / 1.015 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001114/2.09, allocations: 312.1 kB / 1.016 GB, free: 273.3 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003435/2.094, allocations: 1.868 MB / 1.018 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.2e-07/2.094, allocations: 0 / 1.018 GB, free: 272.6 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.01775/2.112, allocations: 5.096 MB / 1.022 GB, free: 272.1 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.0148/2.126, allocations: 5.713 MB / 1.028 GB, free: 271 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01663/2.143, allocations: 8.413 MB / 1.036 GB, free: 267.6 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/2.143, allocations: 0 / 1.036 GB, free: 267.6 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.008825/2.152, allocations: 4.484 MB / 1.041 GB, free: 265.5 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00831/2.16, allocations: 1.176 MB / 1.042 GB, free: 264.6 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02235/2.182, allocations: 13.01 MB / 1.055 GB, free: 252.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/2.185, allocations: 2.711 MB / 1.057 GB, free: 250.6 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003958/2.189, allocations: 1.447 MB / 1.059 GB, free: 249.4 MB / 0.7012 GB Notification: Performance of SimCode: time 1.774e-06/2.189, allocations: 0 / 1.059 GB, free: 249.4 MB / 0.7012 GB Notification: Performance of Templates: time 0.5155/2.704, allocations: 289.9 MB / 1.342 GB, free: 269.1 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: 21.001500031037722] Failed to read output from testmodel.py, exit status != 0: 2.715138007013593 2.725113359 1.613775334 Calling exit ...