Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 190 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.08161/0.08161, allocations: 15.54 MB / 321.8 MB, free: 9.074 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 67.89 kB / 450.6 MB, free: 9.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1057, allocations: 56.59 MB / 0.4953 GB, free: 1.008 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo:4740:7-4740: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 1.4.1/package.mo:4740:7-4740: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.Examples.AcidBase.Dev.RedCellMembrane): time 0.253/0.3587, allocations: 51.22 MB / 0.5454 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1358/0.4945, allocations: 121.4 MB / 0.6639 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005914/0.5004, allocations: 99.25 kB / 0.664 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.007235/0.5077, allocations: 2.408 MB / 0.6663 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.02914/0.5368, allocations: 10.27 MB / 0.6764 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.04242/0.5792, allocations: 15.76 MB / 0.6918 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01582/0.5951, allocations: 10.54 MB / 0.7021 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006844/0.6019, allocations: 4.683 MB / 0.7066 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00898/0.6109, allocations: 5.429 MB / 0.7119 GB, free: 9.352 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0102/0.6211, allocations: 5.974 MB / 0.7178 GB, free: 3.359 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.002746/0.6238, allocations: 0.8867 MB / 0.7186 GB, free: 2.473 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2794/0.9033, allocations: 13.9 MB / 0.7322 GB, free: 30.33 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003163/0.9064, allocations: 2.138 MB / 0.7343 GB, free: 30.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.009585/0.916, allocations: 4.54 MB / 0.7387 GB, free: 30.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05777/0.9738, allocations: 24.36 MB / 0.7625 GB, free: 28.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.9738, allocations: 4.875 kB / 0.7625 GB, free: 28.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9738, allocations: 0 / 0.7625 GB, free: 28.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003629/0.9741, allocations: 3.75 kB / 0.7625 GB, free: 28.37 MB / 0.545 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.02287/0.997, allocations: 10.64 MB / 0.7729 GB, free: 23.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.997, allocations: 9.25 kB / 0.7729 GB, free: 23.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00877/1.006, allocations: 1.947 MB / 0.7748 GB, free: 23.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006624/1.012, allocations: 3.483 MB / 0.7782 GB, free: 22.64 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003793/1.013, allocations: 0.5487 MB / 0.7788 GB, free: 22.6 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/1.015, allocations: 0.7384 MB / 0.7795 GB, free: 22.57 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/1.032, allocations: 9.227 MB / 0.7885 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/1.032, allocations: 5.656 kB / 0.7885 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008355/1.033, allocations: 290.9 kB / 0.7888 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001113/1.033, allocations: 171.9 kB / 0.7889 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/1.058, allocations: 12.72 MB / 0.8014 GB, free: 19.1 MB / 0.545 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.0558/1.113, allocations: 30.03 MB / 0.8307 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03569/1.149, allocations: 17.53 MB / 0.8478 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009955/1.159, allocations: 4.096 MB / 0.8518 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0546/1.214, allocations: 20.56 MB / 0.8719 GB, free: 14.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.887e-05/1.214, allocations: 102.7 kB / 0.872 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002828/1.216, allocations: 0.6575 MB / 0.8726 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=581): time 1.327e-05/1.216, allocations: 0 / 0.8726 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=757): time 0.1261/1.343, allocations: 35.27 MB / 0.9071 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.343, allocations: 129.3 kB / 0.9072 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006155/1.349, allocations: 3.38 MB / 0.9105 GB, free: 7.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.001118/1.35, allocations: 149.7 kB / 0.9106 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.003029/1.353, allocations: 3.254 MB / 0.9138 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.003466/1.356, allocations: 2.714 MB / 0.9165 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004188/1.361, allocations: 1.702 MB / 0.9181 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001212/1.361, allocations: 309.1 kB / 0.9184 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006202/1.367, allocations: 2.865 MB / 0.9212 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008865/1.376, allocations: 5.754 MB / 0.9269 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/1.393, allocations: 9.501 MB / 0.9361 GB, free: 10.93 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.139e-05/1.393, allocations: 35.56 kB / 0.9362 GB, free: 10.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02924/1.422, allocations: 10.71 MB / 0.9466 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001239/1.422, allocations: 44 kB / 0.9467 GB, free: 0.6445 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/1.422, allocations: 92 kB / 0.9467 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009348/1.432, allocations: 1.822 MB / 0.9485 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/1.442, allocations: 2.319 MB / 0.9508 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2678/1.71, allocations: 12.29 MB / 0.9628 GB, free: 281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/1.717, allocations: 289.8 kB / 0.9631 GB, free: 281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001946/1.719, allocations: 0.5167 MB / 0.9636 GB, free: 281 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.004227/1.723, allocations: 1.205 MB / 0.9648 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002193/1.725, allocations: 0.6011 MB / 0.9653 GB, free: 280.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/1.749, allocations: 10.1 MB / 0.9752 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.889e-05/1.749, allocations: 79.19 kB / 0.9753 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.143e-05/1.75, allocations: 6.688 kB / 0.9753 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001673/1.75, allocations: 41.31 kB / 0.9753 GB, free: 280.6 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03404/1.784, allocations: 16.3 MB / 0.9912 GB, free: 274 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.817e-05/1.784, allocations: 5.688 kB / 0.9913 GB, free: 274 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007284/1.791, allocations: 1.527 MB / 0.9927 GB, free: 274 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007791/1.799, allocations: 1.599 MB / 0.9943 GB, free: 273.6 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/1.8, allocations: 264.1 kB / 0.9946 GB, free: 273.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.813, allocations: 11.57 MB / 1.006 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.813, allocations: 11.53 kB / 1.006 GB, free: 264.2 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02235/1.835, allocations: 12.98 MB / 1.019 GB, free: 258.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003068/1.838, allocations: 1.256 MB / 1.02 GB, free: 258.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.84, allocations: 150.5 kB / 1.02 GB, free: 258.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00333/1.843, allocations: 153.9 kB / 1.02 GB, free: 258.2 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001085/1.844, allocations: 0.6027 MB / 1.021 GB, free: 258.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006028/1.845, allocations: 313.1 kB / 1.021 GB, free: 258 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002605/1.847, allocations: 2.041 MB / 1.023 GB, free: 257.3 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5e-08/1.847, allocations: 0 / 1.023 GB, free: 257.3 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.01284/1.86, allocations: 5.109 MB / 1.028 GB, free: 256.8 MB / 0.6856 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.01033/1.87, allocations: 5.623 MB / 1.033 GB, free: 255.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0124/1.883, allocations: 8.41 MB / 1.042 GB, free: 251 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.883, allocations: 2.688 kB / 1.042 GB, free: 251 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.006244/1.889, allocations: 4.49 MB / 1.046 GB, free: 246.9 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005822/1.895, allocations: 1.185 MB / 1.047 GB, free: 245.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01761/1.912, allocations: 12.92 MB / 1.06 GB, free: 233 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001871/1.914, allocations: 3.184 MB / 1.063 GB, free: 229.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.005599/1.92, allocations: 1.673 MB / 1.065 GB, free: 228.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/1.922, allocations: 1.144 MB / 1.066 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of SimCode: time 1.432e-06/1.922, allocations: 0 / 1.066 GB, free: 227.5 MB / 0.6856 GB Notification: Performance of Templates: time 0.1787/2.101, allocations: 167.3 MB / 1.229 GB, free: 60.89 MB / 0.6856 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; mkfifo Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe ; head -c 1048576 < Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe >> ../files/Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.sim & ./Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.193993878550828] Failed to read output from testmodel.py, exit status != 0: 2.109358984977007 2.117196169 1.141111778 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f53201017b0>