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.00136/0.00136, allocations: 114.7 kB / 16.42 MB, free: 6.012 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.001588/0.001588, allocations: 182.3 kB / 17.35 MB, free: 5.629 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08064/0.08064, allocations: 15.32 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 59.91 kB / 425.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0923/0.0935, allocations: 53.61 MB / 479.5 MB, free: 5.863 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.4062/0.4997, allocations: 49.75 MB / 0.5169 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.117/0.6166, allocations: 120.8 MB / 0.6348 GB, free: 3.707 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004503/0.6212, allocations: 79.62 kB / 0.6349 GB, free: 3.629 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006599/0.6278, allocations: 2.401 MB / 0.6372 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03487/0.6627, allocations: 10.18 MB / 0.6471 GB, free: 6.961 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04095/0.7037, allocations: 15.6 MB / 0.6624 GB, free: 7.266 MB / 0.4982 GB Notification: Performance of NFFlatten.flatten: time 0.01491/0.7186, allocations: 10.55 MB / 0.6727 GB, free: 12.68 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008756/0.7274, allocations: 5.506 MB / 0.678 GB, free: 7.098 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009074/0.7365, allocations: 5.351 MB / 0.6833 GB, free: 1.734 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01051/0.7471, allocations: 5.884 MB / 0.689 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.003536/0.7506, allocations: 0.8828 MB / 0.6899 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04362/0.7943, allocations: 13.73 MB / 0.7033 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003666/0.798, allocations: 2.123 MB / 0.7054 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.008615/0.8066, allocations: 4.535 MB / 0.7098 GB, free: 6.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.3365/1.143, allocations: 24.25 MB / 0.7335 GB, free: 48.17 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.143, allocations: 3.891 kB / 0.7335 GB, free: 48.17 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.084e-06/1.143, allocations: 0 / 0.7335 GB, free: 48.17 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0004693/1.144, allocations: 1.844 kB / 0.7335 GB, free: 48.17 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.03261/1.176, allocations: 10.44 MB / 0.7437 GB, free: 44.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/1.176, allocations: 9.344 kB / 0.7437 GB, free: 44.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01211/1.188, allocations: 1.911 MB / 0.7455 GB, free: 43.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008652/1.197, allocations: 3.548 MB / 0.749 GB, free: 42.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004606/1.198, allocations: 0.5533 MB / 0.7495 GB, free: 42.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003056/1.201, allocations: 0.7296 MB / 0.7503 GB, free: 42.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01852/1.219, allocations: 9.182 MB / 0.7592 GB, free: 42.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/1.219, allocations: 5.781 kB / 0.7592 GB, free: 42.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007745/1.22, allocations: 288.7 kB / 0.7595 GB, free: 42.14 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/1.22, allocations: 175.9 kB / 0.7597 GB, free: 42.14 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/1.238, allocations: 12.66 MB / 0.772 GB, free: 42.08 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.0409/1.279, allocations: 30.09 MB / 0.8014 GB, free: 27.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02789/1.306, allocations: 20.42 MB / 0.8214 GB, free: 6.457 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006124/1.313, allocations: 4.712 MB / 0.826 GB, free: 1.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05289/1.366, allocations: 36.46 MB / 0.8616 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.841e-05/1.366, allocations: 91.12 kB / 0.8617 GB, free: 9.625 MB / 0.5919 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002387/1.368, allocations: 0.5795 MB / 0.8622 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=581): time 8.867e-06/1.368, allocations: 0 / 0.8622 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of matching and sorting (n=757): time 0.1192/1.487, allocations: 35.51 MB / 0.8969 GB, free: 5.73 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.129e-05/1.487, allocations: 134.7 kB / 0.897 GB, free: 5.59 MB / 0.6232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0061/1.493, allocations: 3.376 MB / 0.9003 GB, free: 2.207 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001151/1.495, allocations: 153.7 kB / 0.9005 GB, free: 2.051 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/1.497, allocations: 3.144 MB / 0.9035 GB, free: 14.9 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.002916/1.5, allocations: 2.584 MB / 0.9061 GB, free: 12.34 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00412/1.504, allocations: 1.701 MB / 0.9077 GB, free: 10.62 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.504, allocations: 309.1 kB / 0.908 GB, free: 10.32 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005891/1.51, allocations: 2.856 MB / 0.9108 GB, free: 7.461 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007971/1.518, allocations: 5.739 MB / 0.9164 GB, free: 0.5664 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01561/1.534, allocations: 9.49 MB / 0.9257 GB, free: 6.203 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.214e-05/1.534, allocations: 28 kB / 0.9257 GB, free: 6.176 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.0304/1.564, allocations: 10.7 MB / 0.9362 GB, free: 11.97 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/1.564, allocations: 44 kB / 0.9362 GB, free: 11.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001617/1.565, allocations: 92 kB / 0.9363 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009734/1.574, allocations: 1.815 MB / 0.9381 GB, free: 10.01 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0112/1.585, allocations: 2.314 MB / 0.9403 GB, free: 7.836 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2722/1.858, allocations: 12.8 MB / 0.9528 GB, free: 285.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/1.865, allocations: 292.1 kB / 0.9531 GB, free: 285.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001535/1.866, allocations: 0.5153 MB / 0.9536 GB, free: 285.5 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.003286/1.87, allocations: 1.198 MB / 0.9548 GB, free: 285.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001684/1.871, allocations: 0.5746 MB / 0.9553 GB, free: 285.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/1.894, allocations: 10.12 MB / 0.9652 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001026/1.894, allocations: 44.2 kB / 0.9653 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/1.894, allocations: 3.359 kB / 0.9653 GB, free: 282.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003832/1.898, allocations: 1.295 MB / 0.9665 GB, free: 282.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.899, allocations: 147.2 kB / 0.9667 GB, free: 282.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003329/1.902, allocations: 147.7 kB / 0.9668 GB, free: 282.2 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009642/1.903, allocations: 0.5753 MB / 0.9674 GB, free: 282.1 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02035/1.924, allocations: 8.376 MB / 0.9756 GB, free: 279.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01561/1.939, allocations: 11.19 MB / 0.9865 GB, free: 274.4 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00427/1.944, allocations: 3.328 MB / 0.9897 GB, free: 273 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002526/1.946, allocations: 2.042 MB / 0.9917 GB, free: 272.3 MB / 0.67 GB Notification: Performance of Backend: time 4.11e-07/1.946, allocations: 0 / 0.9917 GB, free: 272.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.03257/1.979, allocations: 13.47 MB / 1.005 GB, free: 266.6 MB / 0.67 GB Notification: Performance of SimCode: time 0.0145/1.993, allocations: 12.01 MB / 1.017 GB, free: 255.5 MB / 0.67 GB Notification: Performance of Templates: time 0.2149/2.208, allocations: 192.1 MB / 1.204 GB, free: 64.49 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)