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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") translateModel(Chemical.Examples.AcidBase.Dev.RedCellMembrane,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 115.1 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 183.9 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07383/0.07383, allocations: 15.31 MB / 306.5 MB, free: 15.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 425.9 MB, free: 11.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08553, allocations: 53.61 MB / 479.5 MB, free: 5.777 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/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-master/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.3868/0.4723, allocations: 49.69 MB / 0.5168 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1119/0.5843, allocations: 120.7 MB / 0.6347 GB, free: 3.75 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.5884, allocations: 71.62 kB / 0.6348 GB, free: 3.68 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005828/0.5942, allocations: 2.397 MB / 0.6371 GB, free: 1.266 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02534/0.6196, allocations: 10.1 MB / 0.647 GB, free: 7.098 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0362/0.6558, allocations: 15.48 MB / 0.6621 GB, free: 7.52 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.01352/0.6694, allocations: 10.54 MB / 0.6724 GB, free: 12.94 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007018/0.6764, allocations: 5.506 MB / 0.6778 GB, free: 7.355 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007302/0.6837, allocations: 5.351 MB / 0.683 GB, free: 1.992 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009428/0.6932, allocations: 5.876 MB / 0.6887 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003215/0.6964, allocations: 0.8867 MB / 0.6896 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03761/0.734, allocations: 13.73 MB / 0.703 GB, free: 13.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003087/0.7372, allocations: 2.119 MB / 0.7051 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.007095/0.7443, allocations: 4.539 MB / 0.7095 GB, free: 6.781 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.2746/1.019, allocations: 24.26 MB / 0.7332 GB, free: 48.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.019, allocations: 0 / 0.7332 GB, free: 48.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/1.019, allocations: 0.9062 kB / 0.7332 GB, free: 48.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002944/1.019, allocations: 0 / 0.7332 GB, free: 48.95 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.02506/1.044, allocations: 10.44 MB / 0.7434 GB, free: 44.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/1.044, allocations: 9.938 kB / 0.7434 GB, free: 44.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009825/1.054, allocations: 1.915 MB / 0.7453 GB, free: 44.37 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006842/1.061, allocations: 3.543 MB / 0.7487 GB, free: 43.54 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003046/1.061, allocations: 0.5546 MB / 0.7493 GB, free: 43.49 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/1.063, allocations: 0.7335 MB / 0.75 GB, free: 43.47 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/1.076, allocations: 9.181 MB / 0.759 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/1.077, allocations: 6.812 kB / 0.759 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007663/1.077, allocations: 284.4 kB / 0.7592 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.46e-05/1.077, allocations: 173.4 kB / 0.7594 GB, free: 42.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01696/1.094, allocations: 12.66 MB / 0.7718 GB, free: 42.86 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.05086/1.145, allocations: 30.1 MB / 0.8012 GB, free: 28.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03061/1.176, allocations: 20.41 MB / 0.8211 GB, free: 7.211 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00754/1.184, allocations: 4.712 MB / 0.8257 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05825/1.242, allocations: 36.45 MB / 0.8613 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.178e-05/1.242, allocations: 94.38 kB / 0.8614 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002843/1.245, allocations: 0.5885 MB / 0.8619 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 1.66e-05/1.245, allocations: 0 / 0.8619 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.12/1.365, allocations: 35.52 MB / 0.8966 GB, free: 6.492 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.241e-05/1.365, allocations: 132.8 kB / 0.8968 GB, free: 6.352 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005357/1.37, allocations: 3.38 MB / 0.9001 GB, free: 2.965 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.0013/1.372, allocations: 153.7 kB / 0.9002 GB, free: 2.809 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002172/1.374, allocations: 3.146 MB / 0.9033 GB, free: 15.65 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.003226/1.377, allocations: 2.582 MB / 0.9058 GB, free: 13.09 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004509/1.382, allocations: 1.697 MB / 0.9075 GB, free: 11.38 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001043/1.382, allocations: 305.1 kB / 0.9077 GB, free: 11.08 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005839/1.388, allocations: 2.857 MB / 0.9105 GB, free: 8.219 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007958/1.395, allocations: 5.74 MB / 0.9161 GB, free: 1.32 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/1.411, allocations: 9.488 MB / 0.9254 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.206e-05/1.411, allocations: 32 kB / 0.9254 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.02685/1.438, allocations: 10.7 MB / 0.9359 GB, free: 12.73 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/1.438, allocations: 44 kB / 0.9359 GB, free: 12.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001215/1.438, allocations: 92 kB / 0.936 GB, free: 12.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009116/1.447, allocations: 1.818 MB / 0.9378 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/1.458, allocations: 2.314 MB / 0.94 GB, free: 8.594 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2352/1.693, allocations: 12.8 MB / 0.9526 GB, free: 285.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007119/1.7, allocations: 294 kB / 0.9528 GB, free: 285.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/1.702, allocations: 0.5163 MB / 0.9533 GB, free: 285.4 MB / 0.67 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.004349/1.706, allocations: 1.202 MB / 0.9545 GB, free: 285.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002149/1.709, allocations: 0.5695 MB / 0.9551 GB, free: 285.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02406/1.733, allocations: 10.13 MB / 0.965 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001054/1.733, allocations: 38.39 kB / 0.965 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/1.733, allocations: 2.688 kB / 0.965 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.736, allocations: 1.304 MB / 0.9663 GB, free: 282.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00132/1.737, allocations: 143.3 kB / 0.9664 GB, free: 282.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003658/1.741, allocations: 153.3 kB / 0.9666 GB, free: 282.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009466/1.742, allocations: 0.5742 MB / 0.9671 GB, free: 282.2 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01837/1.76, allocations: 8.373 MB / 0.9753 GB, free: 279.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01521/1.775, allocations: 11.19 MB / 0.9862 GB, free: 274.4 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004143/1.779, allocations: 3.327 MB / 0.9895 GB, free: 273 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002436/1.782, allocations: 2.04 MB / 0.9915 GB, free: 272.3 MB / 0.67 GB Notification: Performance of Backend: time 3.9e-07/1.782, allocations: 1.312 kB / 0.9915 GB, free: 272.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.02723/1.809, allocations: 13.46 MB / 1.005 GB, free: 266.9 MB / 0.67 GB Notification: Performance of SimCode: time 0.01417/1.823, allocations: 12.02 MB / 1.016 GB, free: 255.9 MB / 0.67 GB Notification: Performance of Templates: time 0.2078/2.031, allocations: 192.1 MB / 1.204 GB, free: 64.83 MB / 0.67 GB make -j1 -f Chemical_Chemical.Examples.AcidBase.Dev.RedCellMembrane.makefile (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)