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.001281/0.001281, allocations: 80.61 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.001431/0.001431, allocations: 160 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.438/1.438, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.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.1309/0.1309, allocations: 17.46 MB / 276.6 MB, free: 15.2 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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 412.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.509e-05/2.647e-05, allocations: 5.516 kB / 412.1 MB, free: 4.246 MB / 334.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.3804/0.3804, allocations: 47.23 MB / 459.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1266/0.5071, allocations: 106.1 MB / 0.5522 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005946/0.513, allocations: 95.25 kB / 0.5523 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007731/0.5207, allocations: 2.182 MB / 0.5544 GB, free: 8.484 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03286/0.5536, allocations: 10.53 MB / 0.5647 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0474/0.601, allocations: 16.24 MB / 0.5806 GB, free: 13.54 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01715/0.6181, allocations: 10.88 MB / 0.5912 GB, free: 2.609 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008649/0.6268, allocations: 4.648 MB / 0.5957 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0144/0.6412, allocations: 7.395 MB / 0.603 GB, free: 6.477 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01114/0.6523, allocations: 4.857 MB / 0.6077 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003982/0.6563, allocations: 0.8867 MB / 0.6086 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04047/0.6968, allocations: 13.15 MB / 0.6214 GB, free: 3.551 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.004332/0.7011, allocations: 2.161 MB / 0.6235 GB, free: 1.383 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2326/0.9338, allocations: 3.366 MB / 0.6268 GB, free: 32.38 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05563/0.9894, allocations: 26.6 MB / 0.6528 GB, free: 31.32 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.9894, allocations: 3.797 kB / 0.6528 GB, free: 31.32 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9894, allocations: 0 / 0.6528 GB, free: 31.32 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0005219/0.9899, allocations: 0 / 0.6528 GB, free: 31.32 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.02924/1.019, allocations: 10.54 MB / 0.6631 GB, free: 26.92 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.019, allocations: 6.438 kB / 0.6631 GB, free: 26.92 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/1.031, allocations: 1.955 MB / 0.665 GB, free: 26.45 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00863/1.04, allocations: 3.515 MB / 0.6684 GB, free: 25.65 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005596/1.04, allocations: 0.5797 MB / 0.669 GB, free: 25.57 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/1.043, allocations: 0.7345 MB / 0.6697 GB, free: 25.55 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/1.066, allocations: 9.225 MB / 0.6787 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003399/1.066, allocations: 2.062 kB / 0.6787 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002056/1.068, allocations: 289.4 kB / 0.679 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/1.068, allocations: 181.8 kB / 0.6792 GB, free: 25.01 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02372/1.092, allocations: 12.57 MB / 0.6915 GB, free: 24.07 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.04994/1.142, allocations: 24.07 MB / 0.715 GB, free: 9.938 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04432/1.186, allocations: 17.12 MB / 0.7317 GB, free: 9.023 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01321/1.2, allocations: 4.095 MB / 0.7357 GB, free: 4.914 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05844/1.258, allocations: 19.51 MB / 0.7547 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/1.258, allocations: 91.12 kB / 0.7548 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003637/1.262, allocations: 0.6344 MB / 0.7554 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=581): time 2.44e-05/1.262, allocations: 0 / 0.7554 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of matching and sorting (n=757): time 0.1371/1.399, allocations: 35.24 MB / 0.7899 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/1.399, allocations: 133.3 kB / 0.79 GB, free: 13.99 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005578/1.405, allocations: 3.276 MB / 0.7932 GB, free: 10.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001268/1.406, allocations: 149.7 kB / 0.7933 GB, free: 10.54 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002619/1.408, allocations: 3.229 MB / 0.7965 GB, free: 7.324 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0036/1.412, allocations: 2.682 MB / 0.7991 GB, free: 4.68 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004206/1.416, allocations: 1.691 MB / 0.8007 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.416, allocations: 303.8 kB / 0.801 GB, free: 2.68 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006536/1.423, allocations: 2.869 MB / 0.8038 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009427/1.432, allocations: 5.748 MB / 0.8095 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02237/1.455, allocations: 9.508 MB / 0.8187 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/1.455, allocations: 24 kB / 0.8188 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03213/1.487, allocations: 10.7 MB / 0.8292 GB, free: 4.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00013/1.487, allocations: 47.98 kB / 0.8292 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000155/1.487, allocations: 92 kB / 0.8293 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/1.497, allocations: 1.814 MB / 0.8311 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01152/1.509, allocations: 2.322 MB / 0.8334 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02147/1.53, allocations: 12.09 MB / 0.8452 GB, free: 3.766 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007666/1.538, allocations: 288.1 kB / 0.8455 GB, free: 3.484 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002095/1.54, allocations: 0.5155 MB / 0.846 GB, free: 2.969 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.005006/1.545, allocations: 1.212 MB / 0.8471 GB, free: 1.891 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002436/1.547, allocations: 0.5783 MB / 0.8477 GB, free: 1.309 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2539/1.801, allocations: 10.09 MB / 0.8576 GB, free: 264.7 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001676/1.802, allocations: 80.62 kB / 0.8576 GB, free: 264.7 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.162e-05/1.802, allocations: 4.156 kB / 0.8576 GB, free: 264.7 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000283/1.802, allocations: 40.84 kB / 0.8577 GB, free: 264.7 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03663/1.839, allocations: 14.6 MB / 0.8719 GB, free: 258.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.833e-05/1.839, allocations: 6.281 kB / 0.8719 GB, free: 258.6 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008004/1.847, allocations: 1.531 MB / 0.8734 GB, free: 258.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008237/1.855, allocations: 1.6 MB / 0.875 GB, free: 258.2 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001933/1.857, allocations: 270.1 kB / 0.8753 GB, free: 258 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/1.871, allocations: 11.33 MB / 0.8863 GB, free: 248.9 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.871, allocations: 7.906 kB / 0.8863 GB, free: 248.9 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/1.898, allocations: 12.94 MB / 0.899 GB, free: 243.4 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004142/1.902, allocations: 1.243 MB / 0.9002 GB, free: 242.7 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.903, allocations: 147.8 kB / 0.9003 GB, free: 242.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003752/1.907, allocations: 153.9 kB / 0.9005 GB, free: 242.4 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.908, allocations: 0.6059 MB / 0.9011 GB, free: 242.1 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005996/1.909, allocations: 322.8 kB / 0.9014 GB, free: 241.8 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.002569/1.911, allocations: 1.859 MB / 0.9032 GB, free: 240.3 MB / 0.6232 GB Notification: Performance of sort global known variables: time 1.41e-07/1.911, allocations: 0 / 0.9032 GB, free: 240.3 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.01894/1.93, allocations: 5.103 MB / 0.9082 GB, free: 236.1 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.01579/1.946, allocations: 5.937 MB / 0.914 GB, free: 232.2 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.01625/1.962, allocations: 8.411 MB / 0.9222 GB, free: 224.5 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.962, allocations: 0 / 0.9222 GB, free: 224.5 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.00826/1.97, allocations: 4.485 MB / 0.9266 GB, free: 220 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006889/1.977, allocations: 1.18 MB / 0.9277 GB, free: 218.9 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02097/1.998, allocations: 12.61 MB / 0.94 GB, free: 206.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00219/2, allocations: 2.715 MB / 0.9427 GB, free: 203.7 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.006893/2.007, allocations: 1.656 MB / 0.9443 GB, free: 202.5 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002856/2.01, allocations: 1.125 MB / 0.9454 GB, free: 201.4 MB / 0.6232 GB Notification: Performance of SimCode: time 1.724e-06/2.01, allocations: 4 kB / 0.9454 GB, free: 201.4 MB / 0.6232 GB Notification: Performance of Templates: time 0.2/2.21, allocations: 163.8 MB / 1.105 GB, free: 38.85 MB / 0.6232 GB " [Timeout remaining time 658] 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 sys.exit(0), Time elapsed: 14.10022496059537] Failed to read output from testmodel.py, exit status != 0: 2.219664052128792 2.237007136 1.243596984 Calling exit ...